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.423/2.423, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001369/0.001369, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009162/0.0009163, allocations: 95.45 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.115e-05, allocations: 7.984 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9436/1.24, allocations: 150.3 MB / 1.366 GB, free: 3.648 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.241, allocations: 75.7 kB / 1.366 GB, free: 3.605 MB / 0.823 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.006712/1.247, allocations: 2.262 MB / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.386e-06/1.247, allocations: 0 / 1.368 GB, free: 1.652 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.247, allocations: 3.938 kB / 1.368 GB, free: 1.648 MB / 0.823 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.0004219/1.248, allocations: 371.9 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.248, allocations: 8.031 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/1.248, allocations: 11.95 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/1.248, allocations: 163 kB / 1.368 GB, free: 1.023 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.248, allocations: 4 kB / 1.368 GB, free: 1.02 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/1.248, allocations: 4 kB / 1.368 GB, free: 1.016 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/1.248, allocations: 33.69 kB / 1.368 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.248, allocations: 0 / 1.368 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/1.248, allocations: 3.5 kB / 1.368 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.248, allocations: 4 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.983e-05/1.248, allocations: 11.92 kB / 1.368 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/1.248, allocations: 165 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/1.249, allocations: 30.27 kB / 1.369 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/1.249, allocations: 8.859 kB / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/1.249, allocations: 0 / 1.369 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/1.249, allocations: 59.36 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/1.249, allocations: 0 / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001972/1.249, allocations: 56.06 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/1.249, allocations: 59.41 kB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/1.249, allocations: 96.61 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.249, allocations: 25.7 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/1.249, allocations: 83.64 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/1.249, allocations: 11.84 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/1.249, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.249, allocations: 318.5 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/1.25, allocations: 4 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/1.25, allocations: 39.05 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/1.25, allocations: 20.05 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.25, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001011/1.25, allocations: 68.89 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.25, allocations: 7.984 kB / 1.369 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.25, allocations: 4.094 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.25, allocations: 4 kB / 1.369 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.014e-05/1.25, allocations: 8 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.25, allocations: 3.938 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/1.25, allocations: 3 kB / 1.369 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/1.25, allocations: 4 kB / 1.369 GB, free: 15.81 MB / 0.8386 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 () * 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 8.777e-05/1.25, allocations: 112.6 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/1.25, allocations: 3.938 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/1.25, allocations: 7.484 kB / 1.37 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.25, allocations: 4 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.25, allocations: 0 / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.25, allocations: 4 kB / 1.37 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/1.25, allocations: 160.7 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.25, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.036e-05/1.25, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.25, allocations: 0 / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.25, allocations: 4 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.25, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.25, allocations: 0 / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/1.25, allocations: 95.53 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/1.25, allocations: 77.11 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/1.251, allocations: 4 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/1.251, allocations: 3.312 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/1.251, allocations: 3.984 kB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/1.251, allocations: 4 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.74e-05/1.251, allocations: 75.28 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.251, allocations: 0 / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002864/1.251, allocations: 51.42 kB / 1.37 GB, free: 15.14 MB / 0.8386 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 (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.0004324/1.251, allocations: 176 kB / 1.37 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.251, allocations: 31.23 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.252, allocations: 0 / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/1.252, allocations: 11.81 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/1.252, allocations: 11.53 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/1.252, allocations: 76.48 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/1.252, allocations: 0.677 MB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.608e-05/1.252, allocations: 4 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/1.252, allocations: 7.438 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.252, allocations: 0 / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.003543/1.256, allocations: 1.2 MB / 1.372 GB, free: 12.93 MB / 0.8386 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