Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.298/2.298, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001496, allocations: 171 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009813/0.0009813, allocations: 100.1 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 10.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3289, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.5213, allocations: 149.6 MB / 1.369 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.5216, allocations: 67.91 kB / 1.369 GB, free: 12.41 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006217/0.5278, allocations: 2.345 MB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5278, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.5279, allocations: 3.938 kB / 1.371 GB, free: 10.06 MB / 0.8698 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.0003718/0.5282, allocations: 390.4 kB / 1.372 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5283, allocations: 12.03 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.5283, allocations: 3.953 kB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.5284, allocations: 167 kB / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.5285, allocations: 0 / 1.372 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.5285, allocations: 8 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.5286, allocations: 45.61 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5286, allocations: 0 / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.5286, allocations: 3.984 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5286, allocations: 4 kB / 1.372 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.5287, allocations: 4 kB / 1.372 GB, free: 9.34 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.5288, allocations: 173.5 kB / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.288e-05/0.5289, allocations: 22.52 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.5289, allocations: 4 kB / 1.372 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.529, allocations: 63.48 kB / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.5291, allocations: 0 / 1.372 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0001973/0.5293, allocations: 69.81 kB / 1.372 GB, free: 8.938 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.5293, allocations: 55.41 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.5294, allocations: 101 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5294, allocations: 29.7 kB / 1.372 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.5294, allocations: 84.14 kB / 1.373 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5295, allocations: 19.8 kB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.5295, allocations: 0 / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5296, allocations: 318.8 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.116e-05/0.5296, allocations: 8 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.5297, allocations: 40.28 kB / 1.373 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.5297, allocations: 16 kB / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5297, allocations: 0 / 1.373 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.659e-05/0.5298, allocations: 73.56 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5298, allocations: 7.984 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5298, allocations: 4 kB / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.5299, allocations: 0 / 1.373 GB, free: 8.137 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.5299, allocations: 12.12 kB / 1.373 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5299, allocations: 3.938 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.53, allocations: 7.906 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.53, allocations: 4 kB / 1.373 GB, free: 8.109 MB / 0.8698 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.304e-05/0.5301, allocations: 117.7 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.5301, allocations: 7.984 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.5301, allocations: 7.562 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.5301, allocations: 0 / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.5302, allocations: 0 / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5302, allocations: 11.88 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.5303, allocations: 161.6 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5303, allocations: 0 / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.5303, allocations: 4 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.5303, allocations: 0 / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5303, allocations: 3.984 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5304, allocations: 0 / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5304, allocations: 0 / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.5305, allocations: 92.92 kB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.5306, allocations: 89.11 kB / 1.373 GB, free: 7.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.5306, allocations: 3.984 kB / 1.373 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.5306, allocations: 320 / 1.373 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.5307, allocations: 4 kB / 1.373 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.5307, allocations: 0 / 1.373 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.5307, allocations: 87.27 kB / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5307, allocations: 0 / 1.374 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002342/0.531, allocations: 43.94 kB / 1.374 GB, free: 7.391 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003225/0.5313, allocations: 185.1 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.5314, allocations: 27.94 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5314, allocations: 0 / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.5315, allocations: 27.86 kB / 1.374 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.441e-05/0.5316, allocations: 7.891 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.5318, allocations: 129 kB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5321, allocations: 0.6848 MB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.5321, allocations: 0 / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.5321, allocations: 11.44 kB / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5321, allocations: 0 / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of Templates: time 0.003165/0.5353, allocations: 1.219 MB / 1.376 GB, free: 5.055 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y