Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 183.5 kB / 316.3 MB, free: 3.242 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.714/1.714, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008073/0.0008072, allocations: 94.09 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.685e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2348, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7775/1.012, allocations: 132.3 MB / 1.014 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.013, allocations: 72.45 kB / 1.014 GB, free: 5.551 MB / 0.6355 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.006529/1.019, allocations: 2.329 MB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.923e-06/1.019, allocations: 0 / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.019, allocations: 0 / 1.017 GB, free: 3.578 MB / 0.6355 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.0004586/1.02, allocations: 376.4 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.02, allocations: 11.97 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/1.02, allocations: 4 kB / 1.017 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/1.02, allocations: 178.6 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/1.02, allocations: 2.062 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/1.02, allocations: 8 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.807e-05/1.02, allocations: 4 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.329e-05/1.02, allocations: 33.69 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/1.02, allocations: 3.938 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/1.02, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/1.02, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/1.02, allocations: 137.6 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/1.02, allocations: 29.86 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/1.021, allocations: 20.05 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/1.021, allocations: 3.938 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/1.021, allocations: 53.22 kB / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/1.021, allocations: 0 / 1.018 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000191/1.021, allocations: 52.73 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.021, allocations: 58.53 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/1.021, allocations: 96.12 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/1.021, allocations: 25.7 kB / 1.018 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/1.021, allocations: 84.14 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/1.021, allocations: 14.95 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/1.021, allocations: 0 / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.021, allocations: 314.8 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.775e-05/1.021, allocations: 7.188 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/1.021, allocations: 34.56 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.116e-05/1.021, allocations: 19.12 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.021, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001012/1.021, allocations: 60.84 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.022, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.022, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.022, allocations: 4 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/1.022, allocations: 8.719 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.022, allocations: 7.984 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.363e-05/1.022, allocations: 3.938 kB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/1.022, allocations: 4 kB / 1.018 GB, free: 1.777 MB / 0.6355 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 9.309e-05/1.022, allocations: 108.9 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/1.022, allocations: 7.906 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/1.022, allocations: 7.781 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/1.022, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.022, allocations: 4.094 kB / 1.018 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.022, allocations: 7.984 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/1.022, allocations: 137.3 kB / 1.019 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.022, allocations: 4 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.446e-05/1.022, allocations: 3.984 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.022, allocations: 3.953 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.022, allocations: 0 / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.022, allocations: 4 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.022, allocations: 0 / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/1.022, allocations: 88 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/1.022, allocations: 85 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/1.022, allocations: 3.953 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/1.022, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/1.022, allocations: 4 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/1.022, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.367e-05/1.022, allocations: 86.33 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.022, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002609/1.023, allocations: 43.88 kB / 1.019 GB, free: 1.117 MB / 0.6355 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.0003804/1.023, allocations: 174.5 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.392e-05/1.023, allocations: 23.06 kB / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/1.023, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/1.023, allocations: 11.14 kB / 1.019 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/1.023, allocations: 4.125 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/1.024, allocations: 81.56 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/1.024, allocations: 0.6806 MB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.344e-05/1.024, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/1.024, allocations: 7.438 kB / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.024, allocations: 0 / 1.02 GB, free: 108 kB / 0.6355 GB Notification: Performance of Templates: time 0.003469/1.027, allocations: 1.226 MB / 1.021 GB, free: 14.89 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","../files/Buildings_maint.7.0.x_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