Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.201/2.201, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001315/0.001315, allocations: 187.1 kB / 0.4902 GB, free: 2.223 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.509/1.509, allocations: 223.2 MB / 0.7992 GB, free: 14.78 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.0009235/0.0009236, allocations: 105.7 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 6.938 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3791, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.261/0.6401, allocations: 150.4 MB / 1.376 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/0.6405, allocations: 63.97 kB / 1.376 GB, free: 3.156 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.008902/0.6494, allocations: 2.278 MB / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.156e-06/0.6495, allocations: 0 / 1.378 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.6495, allocations: 0 / 1.378 GB, free: 0.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004741/0.65, allocations: 381 kB / 1.379 GB, free: 460 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.65, allocations: 8.562 kB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.6501, allocations: 7.859 kB / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.6502, allocations: 167.1 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.6503, allocations: 0 / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.6503, allocations: 8 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.6504, allocations: 41.62 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6505, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6505, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.6505, allocations: 0 / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.6505, allocations: 4 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.6508, allocations: 169.6 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.6509, allocations: 30.56 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.6509, allocations: 4 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.6511, allocations: 63.36 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.6511, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.000259/0.6513, allocations: 65.67 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.6514, allocations: 55.41 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.6515, allocations: 93 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.6515, allocations: 25.7 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.6516, allocations: 84.14 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.6516, allocations: 19.8 kB / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.6516, allocations: 0 / 1.38 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6517, allocations: 314.8 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.6518, allocations: 11.94 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.6518, allocations: 31.42 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.6519, allocations: 12 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6519, allocations: 4 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001254/0.652, allocations: 61.62 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.652, allocations: 8 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.6521, allocations: 0 / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6521, allocations: 0 / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.6522, allocations: 15.92 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6522, allocations: 0 / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.6522, allocations: 16.03 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.6523, allocations: 0 / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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.057e-05/0.6524, allocations: 113.8 kB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.6524, allocations: 3.906 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.077e-05/0.6524, allocations: 7.5 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6524, allocations: 7.984 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6524, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6524, allocations: 0 / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.6526, allocations: 153.6 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6526, allocations: 4 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.6526, allocations: 4 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6526, allocations: 0 / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.6527, allocations: 8 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6527, allocations: 0 / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6527, allocations: 3.938 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.6529, allocations: 89.42 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.6529, allocations: 81.11 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.6529, allocations: 4 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.653, allocations: 0 / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.653, allocations: 4.031 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.653, allocations: 7.984 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.6531, allocations: 79.28 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6531, allocations: 0 / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003852/0.6535, allocations: 47.92 kB / 1.381 GB, free: 14.27 MB / 0.8855 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 (4): * Single equations (assignments): 2 * 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.0004598/0.6539, allocations: 174.6 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.6541, allocations: 31.92 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6541, allocations: 0 / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.6542, allocations: 8 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.6543, allocations: 12.95 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.6547, allocations: 128.7 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.6551, allocations: 0.677 MB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.6551, allocations: 7.906 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.6551, allocations: 7.438 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of SimCode: time 3.9e-07/0.6551, allocations: 0 / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.00452/0.6597, allocations: 1.194 MB / 1.383 GB, free: 11.99 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y