Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001389/0.001389, allocations: 179.9 kB / 498.1 MB, free: 5.75 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.54/1.54, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001125/0.001125, allocations: 98.52 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 17.41 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.5037, allocations: 149.6 MB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.504, allocations: 71.91 kB / 1.369 GB, free: 12.47 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.006421/0.5104, allocations: 2.279 MB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5105, allocations: 4 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.5105, allocations: 0 / 1.371 GB, free: 10.19 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.0004312/0.5109, allocations: 384.9 kB / 1.372 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.511, allocations: 8.031 kB / 1.372 GB, free: 9.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.511, allocations: 11.95 kB / 1.372 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.5112, allocations: 167 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.5112, allocations: 0 / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.5112, allocations: 7.938 kB / 1.372 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.5113, allocations: 41.62 kB / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.5114, allocations: 0 / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.5114, allocations: 0 / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5114, allocations: 0 / 1.372 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.071e-05/0.5114, allocations: 8 kB / 1.372 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.5116, allocations: 161.7 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.5117, allocations: 26.58 kB / 1.372 GB, free: 9.23 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.5117, allocations: 3.938 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.5119, allocations: 59.48 kB / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.5119, allocations: 0 / 1.372 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002415/0.5121, allocations: 69.58 kB / 1.372 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.5122, allocations: 55.41 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.5123, allocations: 92.94 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.5123, allocations: 29.7 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.5123, allocations: 84.14 kB / 1.372 GB, free: 8.797 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.5124, allocations: 11.89 kB / 1.372 GB, free: 8.785 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.5124, allocations: 4 kB / 1.372 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5125, allocations: 314.8 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.5125, allocations: 4 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.5126, allocations: 39.41 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.165e-05/0.5126, allocations: 16.38 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5126, allocations: 0 / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.47e-05/0.5127, allocations: 61.67 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.5128, allocations: 12.88 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5128, allocations: 3.984 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5128, allocations: 3.984 kB / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.5129, allocations: 8 kB / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5129, allocations: 0 / 1.373 GB, free: 8.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.5129, allocations: 8 kB / 1.373 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.5129, allocations: 4 kB / 1.373 GB, free: 8.289 MB / 0.8698 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.593e-05/0.513, allocations: 117.8 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.5131, allocations: 0 / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.5131, allocations: 11.48 kB / 1.373 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5131, allocations: 3.938 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5131, allocations: 0 / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5131, allocations: 3.938 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.5133, allocations: 165.5 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5133, allocations: 0 / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.5133, allocations: 11.94 kB / 1.373 GB, free: 7.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.5133, allocations: 4 kB / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.5133, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5133, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5133, allocations: 0 / 1.373 GB, free: 7.914 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.5135, allocations: 85.06 kB / 1.373 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.5135, allocations: 85.02 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.5135, allocations: 4 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.5135, allocations: 4 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.619e-05/0.5136, allocations: 3.984 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5136, allocations: 4 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.5136, allocations: 79.28 kB / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5136, allocations: 0 / 1.373 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002457/0.5139, allocations: 47.92 kB / 1.373 GB, free: 7.57 MB / 0.8698 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.0003762/0.5143, allocations: 172.7 kB / 1.374 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.5144, allocations: 31.98 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5144, allocations: 0 / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.5144, allocations: 23.8 kB / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.855e-05/0.5145, allocations: 0 / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.5148, allocations: 120.8 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.5151, allocations: 0.6809 MB / 1.374 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.5151, allocations: 4 kB / 1.374 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.5152, allocations: 7.438 kB / 1.374 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of SimCode: time 2.11e-07/0.5152, allocations: 0 / 1.374 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.003316/0.5185, allocations: 1.187 MB / 1.376 GB, free: 5.293 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","../files/Buildings_9_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