Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001123/0.001124, allocations: 181.1 kB / 498.1 MB, free: 5.746 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.761/1.761, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001256/0.001256, allocations: 96.14 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 8.5 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3142, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.197/0.5113, allocations: 149.6 MB / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.5116, allocations: 75.95 kB / 1.369 GB, free: 12.44 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.00659/0.5182, allocations: 2.361 MB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5183, allocations: 0 / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5183, allocations: 0 / 1.371 GB, free: 10.07 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.0003854/0.5187, allocations: 396.9 kB / 1.372 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.5187, allocations: 12.03 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.5188, allocations: 3.953 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.5189, allocations: 167 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.5189, allocations: 0 / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.5189, allocations: 8 kB / 1.372 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.519, allocations: 41.61 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5191, allocations: 0 / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5191, allocations: 4 kB / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5191, allocations: 0 / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.5191, allocations: 7.938 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.5193, allocations: 165.5 kB / 1.372 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.825e-05/0.5194, allocations: 26.61 kB / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.5194, allocations: 0 / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.5195, allocations: 63.48 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.5195, allocations: 0 / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001939/0.5197, allocations: 65.62 kB / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.5198, allocations: 51.41 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.5198, allocations: 101 kB / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.5199, allocations: 29.7 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.5199, allocations: 80.14 kB / 1.373 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.5199, allocations: 11.89 kB / 1.373 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.52, allocations: 4 kB / 1.373 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.892e-05/0.5201, allocations: 318.8 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.5201, allocations: 8 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.5201, allocations: 31.42 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.477e-05/0.5202, allocations: 19.88 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5202, allocations: 0 / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.969e-05/0.5203, allocations: 69.53 kB / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5203, allocations: 8 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5203, allocations: 0 / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5203, allocations: 3.984 kB / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.5204, allocations: 8 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.5204, allocations: 0 / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.5204, allocations: 8 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5204, allocations: 0 / 1.373 GB, free: 8.164 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 8.076e-05/0.5205, allocations: 125.8 kB / 1.373 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.5205, allocations: 8.141 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.5206, allocations: 15.88 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.5206, allocations: 0 / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5206, allocations: 256 / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5206, allocations: 3.938 kB / 1.373 GB, free: 7.996 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.5207, allocations: 161.6 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5207, allocations: 4 kB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.5207, allocations: 0 / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.5207, allocations: 0 / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.5208, allocations: 4 kB / 1.373 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5208, allocations: 4 kB / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5208, allocations: 0 / 1.373 GB, free: 7.777 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.5209, allocations: 89 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.5209, allocations: 77.11 kB / 1.373 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.521, allocations: 7.984 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.521, allocations: 0 / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.521, allocations: 0 / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.521, allocations: 8 kB / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.5211, allocations: 87.27 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5211, allocations: 0 / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002516/0.5213, allocations: 43.94 kB / 1.374 GB, free: 7.434 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.0003834/0.5217, allocations: 186 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.953e-05/0.5218, allocations: 31.92 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5219, allocations: 0 / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.5219, allocations: 15.94 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.176e-05/0.522, allocations: 9.5 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.5223, allocations: 124.5 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.5225, allocations: 0.6848 MB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.5225, allocations: 4.188 kB / 1.375 GB, free: 6.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.919e-05/0.5226, allocations: 11.44 kB / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.5226, allocations: 0 / 1.375 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of Templates: time 0.003394/0.526, allocations: 1.214 MB / 1.376 GB, free: 5.113 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y