Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.581/1.581, allocations: 249.5 MB / 257 MB, free: 7.031 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.001/0.001, allocations: 176.9 kB / 316.3 MB, free: 3.309 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.529/1.529, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008883/0.0008883, allocations: 89.83 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.756e-05, allocations: 0 / 0.7814 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2388, allocations: 106.3 MB / 0.8852 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8583/1.097, allocations: 132.2 MB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.098, allocations: 76.44 kB / 1.014 GB, free: 5.676 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.006477/1.104, allocations: 2.237 MB / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/1.104, allocations: 3.938 kB / 1.017 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.013e-05/1.104, allocations: 4 kB / 1.017 GB, free: 3.77 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.0004407/1.105, allocations: 379.9 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.105, allocations: 8.031 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/1.105, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/1.105, allocations: 171 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/1.105, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/1.105, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.892e-05/1.105, allocations: 7.562 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.06e-05/1.105, allocations: 41.62 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.105, allocations: 0 / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.105, allocations: 4 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.105, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001764/1.105, allocations: 137.9 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/1.105, allocations: 30.48 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/1.105, allocations: 12.86 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/1.105, allocations: 0 / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/1.106, allocations: 61.88 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/1.106, allocations: 0 / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001875/1.106, allocations: 49.62 kB / 1.017 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/1.106, allocations: 63.33 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/1.106, allocations: 92.94 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.106, allocations: 25.7 kB / 1.018 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/1.106, allocations: 84.14 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/1.106, allocations: 11.66 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/1.106, allocations: 4 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.106, allocations: 314.8 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/1.106, allocations: 7.688 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/1.106, allocations: 23.44 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/1.106, allocations: 16.17 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.106, allocations: 3.953 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.524e-05/1.106, allocations: 69.19 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.106, allocations: 5.875 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/1.106, allocations: 4 kB / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/1.106, allocations: 0 / 1.018 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.56e-05/1.107, allocations: 15.88 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/1.107, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/1.107, allocations: 4.094 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/1.107, allocations: 4 kB / 1.018 GB, free: 1.98 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 8.378e-05/1.107, allocations: 101 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/1.107, allocations: 15.5 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/1.107, allocations: 4.125 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.107, allocations: 3.938 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.107, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/1.107, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/1.107, allocations: 130.2 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.107, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.005e-05/1.107, allocations: 8 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.107, allocations: 3.953 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/1.107, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/1.107, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.107, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/1.107, allocations: 88.77 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/1.107, allocations: 77.11 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.107, allocations: 3.953 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/1.107, allocations: 4 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/1.107, allocations: 7.984 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/1.107, allocations: 0 / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.333e-05/1.107, allocations: 83.16 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/1.107, allocations: 0 / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000249/1.108, allocations: 51.84 kB / 1.019 GB, free: 1.332 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.0004135/1.108, allocations: 170 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.213e-05/1.108, allocations: 19.81 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.108, allocations: 7.938 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/1.108, allocations: 11.8 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/1.108, allocations: 4 kB / 1.019 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/1.108, allocations: 71.61 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/1.109, allocations: 0.6848 MB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.063e-05/1.109, allocations: 0 / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/1.109, allocations: 7.438 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/1.109, allocations: 4 kB / 1.02 GB, free: 332 kB / 0.6355 GB Notification: Performance of Templates: time 0.003962/1.113, allocations: 1.187 MB / 1.021 GB, free: 15.14 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","../files/Buildings_maint.7.0.x_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