Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001335/0.001334, allocations: 186.6 kB / 0.4902 GB, free: 2.277 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.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001126/0.001126, allocations: 98.94 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003811, allocations: 15.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3245, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.5312, allocations: 150.3 MB / 1.376 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.5317, allocations: 71.95 kB / 1.376 GB, free: 3.227 MB / 0.8698 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.006957/0.5386, allocations: 2.173 MB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5387, allocations: 0 / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.5387, allocations: 4 kB / 1.378 GB, free: 1.047 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.0005746/0.5393, allocations: 377 kB / 1.379 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.688e-05/0.5394, allocations: 16.56 kB / 1.379 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.5394, allocations: 7.859 kB / 1.379 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.5396, allocations: 163.1 kB / 1.379 GB, free: 412 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.5396, allocations: 4 kB / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5397, allocations: 0 / 1.379 GB, free: 408 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.5398, allocations: 45.62 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5398, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.5399, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5399, allocations: 0 / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.501e-05/0.5399, allocations: 4 kB / 1.379 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.5401, allocations: 165.7 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.5402, allocations: 26.58 kB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.5403, allocations: 0 / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.5404, allocations: 59.42 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.5404, allocations: 0 / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002765/0.5407, allocations: 65.69 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.5408, allocations: 55.39 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.5409, allocations: 101.1 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.5409, allocations: 25.7 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.5409, allocations: 84.14 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.541, allocations: 15.8 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.541, allocations: 0 / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5411, allocations: 318.8 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.5411, allocations: 8 kB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.5412, allocations: 35.36 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.5412, allocations: 12 kB / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5412, allocations: 0 / 1.38 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001165/0.5414, allocations: 65.62 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5414, allocations: 4.094 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5414, allocations: 4 kB / 1.38 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5414, allocations: 4 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.5415, allocations: 11.92 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5415, allocations: 12.08 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.5416, allocations: 7.938 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.5416, allocations: 4 kB / 1.38 GB, free: 15.15 MB / 0.8855 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 0.0001169/0.5417, allocations: 117.8 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.5417, allocations: 3.906 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.5418, allocations: 11.5 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.5418, allocations: 3.984 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5418, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.5418, allocations: 4 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.542, allocations: 157.6 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.542, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.542, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.542, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.542, allocations: 4 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.542, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.542, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.5422, allocations: 97 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.5422, allocations: 77.11 kB / 1.38 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.5423, allocations: 4 kB / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.5423, allocations: 0 / 1.38 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.5423, allocations: 7.922 kB / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.5423, allocations: 0 / 1.38 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.5424, allocations: 79.28 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5424, allocations: 0 / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003112/0.5427, allocations: 47.98 kB / 1.38 GB, free: 14.45 MB / 0.8855 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.0004513/0.5432, allocations: 180.7 kB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.5433, allocations: 27.92 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5433, allocations: 0 / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.5434, allocations: 12.19 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.5435, allocations: 7.984 kB / 1.381 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.5439, allocations: 124.5 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5442, allocations: 0.6809 MB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.5442, allocations: 3.906 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.247e-05/0.5443, allocations: 11.44 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of SimCode: time 3.01e-07/0.5443, allocations: 0 / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of Templates: time 0.004242/0.5485, allocations: 1.175 MB / 1.383 GB, free: 12.18 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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