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.357/1.357, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 182.6 kB / 326.5 MB, free: 2.23 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.787/1.787, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008982/0.0008984, allocations: 84.39 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003353, allocations: 6.438 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.3507, allocations: 132 MB / 1.029 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.351, allocations: 71.95 kB / 1.029 GB, free: 11.62 MB / 0.6823 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.006431/0.3574, allocations: 2.326 MB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3575, allocations: 0 / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.3575, allocations: 3.938 kB / 1.031 GB, free: 9.285 MB / 0.6823 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.0004015/0.3579, allocations: 388.9 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3579, allocations: 12.03 kB / 1.032 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.358, allocations: 3.906 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3581, allocations: 175 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3581, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.3581, allocations: 8 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3583, allocations: 41.67 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3583, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3583, allocations: 0 / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3583, allocations: 4 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.3583, allocations: 8 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.3585, allocations: 161.7 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.3586, allocations: 23.19 kB / 1.032 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3586, allocations: 8 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.3587, allocations: 63.42 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3587, allocations: 0 / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002068/0.3589, allocations: 69.67 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.359, allocations: 59.34 kB / 1.032 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.56e-05/0.359, allocations: 101.2 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3591, allocations: 29.7 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.3591, allocations: 88.05 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3591, allocations: 19.83 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.3592, allocations: 0 / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3593, allocations: 314.8 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.3593, allocations: 8 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.3594, allocations: 40.28 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.3594, allocations: 16 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3594, allocations: 0 / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.3595, allocations: 81.45 kB / 1.033 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3595, allocations: 4 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.3595, allocations: 4 kB / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.3596, allocations: 0 / 1.033 GB, free: 7.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.3596, allocations: 8.125 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3596, allocations: 8 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.858e-05/0.3597, allocations: 3.938 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3597, allocations: 4 kB / 1.033 GB, free: 7.332 MB / 0.6823 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 7.461e-05/0.3598, allocations: 121.8 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.3598, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.3598, allocations: 7.562 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3598, allocations: 0 / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3598, allocations: 4 kB / 1.033 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3598, allocations: 7.938 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3599, allocations: 157.6 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.36, allocations: 0 / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.36, allocations: 4 kB / 1.033 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.36, allocations: 3.984 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.36, allocations: 0 / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.36, allocations: 0 / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.36, allocations: 0 / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.3602, allocations: 102.6 kB / 1.033 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.3602, allocations: 92.98 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3602, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.3602, allocations: 0 / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.3603, allocations: 4 kB / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.3603, allocations: 0 / 1.034 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.3603, allocations: 91.58 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3603, allocations: 0 / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002619/0.3606, allocations: 36 kB / 1.034 GB, free: 6.617 MB / 0.6823 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.0003342/0.3609, allocations: 189.9 kB / 1.034 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.3611, allocations: 31.92 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3611, allocations: 4 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.3611, allocations: 12 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.071e-05/0.3612, allocations: 11.88 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.3615, allocations: 132.8 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.3617, allocations: 0.6848 MB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.3617, allocations: 3.906 kB / 1.035 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.3618, allocations: 11.44 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.3618, allocations: 0 / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of Templates: time 0.003327/0.3651, allocations: 1.224 MB / 1.036 GB, free: 4.273 MB / 0.6823 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