Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.5 MB / 257 MB, free: 6.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 180.8 kB / 316.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.575/1.575, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 86.52 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.586e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2194, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7552/0.9747, allocations: 132.2 MB / 1.014 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.975, allocations: 67.53 kB / 1.014 GB, free: 5.484 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.006333/0.9813, allocations: 2.314 MB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9813, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.9814, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 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.0004164/0.9818, allocations: 376.5 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.9818, allocations: 11.97 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.9819, allocations: 0 / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.982, allocations: 167 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.9821, allocations: 0 / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.9821, allocations: 4 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.529e-05/0.9822, allocations: 15.88 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.838e-05/0.9823, allocations: 33.69 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9823, allocations: 3.938 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.9823, allocations: 0 / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9823, allocations: 0 / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.9825, allocations: 146 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.9825, allocations: 29.05 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.9826, allocations: 12.86 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.9826, allocations: 3.984 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.9827, allocations: 59.19 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.9827, allocations: 0 / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000179/0.9829, allocations: 61.48 kB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.983, allocations: 55.39 kB / 1.018 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.9831, allocations: 96.88 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.9831, allocations: 29.7 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.9831, allocations: 84.08 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.9832, allocations: 19.73 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.9832, allocations: 0 / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9833, allocations: 314.7 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.9833, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.543e-05/0.9834, allocations: 46.41 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.245e-05/0.9834, allocations: 23.75 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.9834, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.241e-05/0.9835, allocations: 61.31 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.9836, allocations: 4 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.9836, allocations: 0 / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9836, allocations: 8.125 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.9837, allocations: 11.98 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9837, allocations: 3.938 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.9837, allocations: 11.84 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.9837, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 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 () * 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 7.614e-05/0.9838, allocations: 108.9 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.9838, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.9839, allocations: 12 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.9839, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9839, allocations: 4 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.9839, allocations: 3.984 kB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.984, allocations: 130.2 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.984, allocations: 0 / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.984, allocations: 4 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.984, allocations: 3.953 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.9841, allocations: 320 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9841, allocations: 0 / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.9841, allocations: 8 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.9842, allocations: 100.6 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.9843, allocations: 81.11 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.9843, allocations: 3.953 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.9843, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.9843, allocations: 4 kB / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.9844, allocations: 0 / 1.019 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.9844, allocations: 87.2 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9844, allocations: 0 / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002474/0.9847, allocations: 47.88 kB / 1.019 GB, free: 1.039 MB / 0.6355 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 () * 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.00038/0.985, allocations: 177.9 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.802e-05/0.9851, allocations: 27.56 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9852, allocations: 0 / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-05/0.9852, allocations: 11.88 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.871e-05/0.9853, allocations: 12.19 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002216/0.9855, allocations: 75.67 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.9858, allocations: 0.6807 MB / 1.02 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.9858, allocations: 4 kB / 1.02 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.392e-05/0.9858, allocations: 7.438 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9859, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of Templates: time 0.003677/0.9895, allocations: 1.222 MB / 1.021 GB, free: 14.81 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","../files/Buildings_maint.7.0.x_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