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/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.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/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00149/0.00149, allocations: 186.9 kB / 0.4902 GB, free: 2.238 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.513/1.513, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001072/0.001072, allocations: 94.83 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3131, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.5383, allocations: 150.4 MB / 1.376 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/0.5388, allocations: 75.95 kB / 1.376 GB, free: 3.07 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.012/0.5508, allocations: 2.348 MB / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5509, allocations: 0 / 1.378 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.5509, allocations: 0 / 1.378 GB, free: 0.7188 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.000671/0.5516, allocations: 385 kB / 1.379 GB, free: 296 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.5517, allocations: 8.562 kB / 1.379 GB, free: 288 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.5517, allocations: 15.86 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.5519, allocations: 159.1 kB / 1.379 GB, free: 72 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.552, allocations: 4 kB / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.552, allocations: 0 / 1.379 GB, free: 68 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5522, allocations: 45.67 kB / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5522, allocations: 0 / 1.379 GB, free: 16 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5522, allocations: 3.938 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5522, allocations: 0 / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.5523, allocations: 4 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.5526, allocations: 169.7 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.474e-05/0.5527, allocations: 22.58 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.5527, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.5529, allocations: 63.42 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=5): time 4.649e-06/0.5529, allocations: 4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5): time 0.0002903/0.5532, allocations: 73.53 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.5533, allocations: 63.33 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.5534, allocations: 93 kB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.5534, allocations: 33.7 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.5535, allocations: 80.14 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.5536, allocations: 11.83 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.5536, allocations: 4 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5537, allocations: 318.8 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.5538, allocations: 8 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.5538, allocations: 52.2 kB / 1.38 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.5539, allocations: 12 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5539, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001645/0.5541, allocations: 81.55 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5541, allocations: 8.031 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5541, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5542, allocations: 4 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.778e-05/0.5543, allocations: 8 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.5543, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.5543, allocations: 4.5 kB / 1.38 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.5543, allocations: 0 / 1.38 GB, free: 14.78 MB / 0.8855 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 0.0001388/0.5545, allocations: 121.8 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.5545, allocations: 7.906 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.5546, allocations: 15.5 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5546, allocations: 4 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5546, allocations: 0 / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5546, allocations: 0 / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.5548, allocations: 153.6 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5548, allocations: 4 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.5548, allocations: 0 / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.5548, allocations: 8.016 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.5549, allocations: 8 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5549, allocations: 0 / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5549, allocations: 4 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.5551, allocations: 85.08 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.5552, allocations: 88.94 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.5552, allocations: 11.94 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.041e-05/0.5553, allocations: 0 / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5553, allocations: 0 / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.5554, allocations: 4 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.642e-05/0.5554, allocations: 87.2 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5554, allocations: 4 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004245/0.5559, allocations: 40 kB / 1.381 GB, free: 14.05 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 (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.0005557/0.5564, allocations: 176.8 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001608/0.5566, allocations: 35.92 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5566, allocations: 4.25 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.5567, allocations: 12 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.5568, allocations: 12.41 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.5573, allocations: 124.6 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.5577, allocations: 0.6848 MB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.804e-05/0.5577, allocations: 8 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.5577, allocations: 7.438 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of SimCode: time 4.1e-07/0.5577, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of Templates: time 0.004037/0.5618, allocations: 1.229 MB / 1.383 GB, free: 11.71 MB / 0.8855 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","../files/Buildings_latest_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