Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 180 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.658/2.658, allocations: 462.6 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 9.25 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001316/0.288, allocations: 0.9509 MB / 1.06 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000861/0.2889, allocations: 442.7 kB / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.2889, allocations: 0 / 1.061 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.2889, allocations: 3.938 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.524e-05/0.289, allocations: 4 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.2895, allocations: 91.77 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.2895, allocations: 19.88 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.2896, allocations: 11.98 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.087e-05/0.2896, allocations: 4 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.2896, allocations: 15.92 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.2896, allocations: 3.984 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2898, allocations: 99.89 kB / 1.061 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.2899, allocations: 4 kB / 1.061 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.2899, allocations: 37.62 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2901, allocations: 71.91 kB / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.2901, allocations: 0 / 1.061 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2901, allocations: 7.875 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.2901, allocations: 0 / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004338/0.2905, allocations: 389.4 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2906, allocations: 11.97 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.2906, allocations: 4.844 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2907, allocations: 164.4 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.2907, allocations: 384 / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2908, allocations: 8.375 kB / 1.062 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2909, allocations: 42.23 kB / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.2909, allocations: 192 / 1.062 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2909, allocations: 7.938 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2909, allocations: 0 / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.492e-05/0.291, allocations: 8 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.2911, allocations: 161.6 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.2912, allocations: 26.58 kB / 1.062 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.2912, allocations: 8.859 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2912, allocations: 4.078 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.2914, allocations: 63.41 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.2914, allocations: 0 / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0002087/0.2916, allocations: 81.64 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.2916, allocations: 51.41 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.838e-05/0.2917, allocations: 109.9 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2917, allocations: 29.7 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.492e-05/0.2918, allocations: 88.08 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.2918, allocations: 15.84 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.2918, allocations: 13.72 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2919, allocations: 322.8 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.292, allocations: 7.938 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.213e-05/0.292, allocations: 40.28 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.645e-05/0.2921, allocations: 60.22 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2921, allocations: 0 / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001059/0.2922, allocations: 81.45 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2922, allocations: 9.344 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.2922, allocations: 4 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2923, allocations: 4.125 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.2923, allocations: 15.94 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2923, allocations: 0 / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.2924, allocations: 4 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2924, allocations: 4 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.2925, allocations: 117.8 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.2925, allocations: 7.844 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.832e-05/0.2925, allocations: 3.562 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.2925, allocations: 0 / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.2925, allocations: 8 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.2925, allocations: 0 / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.2927, allocations: 153.7 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2927, allocations: 0 / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.2927, allocations: 4 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2927, allocations: 7.922 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.2927, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2927, allocations: 0 / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2927, allocations: 3.938 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2929, allocations: 93.12 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.2929, allocations: 85 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2929, allocations: 3.938 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.2929, allocations: 320 / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.293, allocations: 8 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.293, allocations: 4 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.293, allocations: 83.27 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.293, allocations: 0 / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002438/0.2933, allocations: 32 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000311/0.2936, allocations: 177.5 kB / 1.064 GB, free: 280 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.2937, allocations: 39.92 kB / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2937, allocations: 0 / 1.064 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.716e-05/0.2938, allocations: 19.92 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.2939, allocations: 4.25 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.2941, allocations: 144.5 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.2944, allocations: 0.677 MB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.2944, allocations: 11.44 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2944, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.002824/0.2973, allocations: 1.273 MB / 1.066 GB, free: 14.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches