Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001315/0.001315, allocations: 177.1 kB / 498.1 MB, free: 5.684 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.565/1.565, allocations: 223.2 MB / 0.7949 GB, free: 17.81 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.001016/0.001016, allocations: 99.3 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 6.875 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.5353, allocations: 149.5 MB / 1.369 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.5356, allocations: 75.95 kB / 1.369 GB, free: 12.43 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.006277/0.5419, allocations: 2.158 MB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.937e-06/0.5419, allocations: 0 / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.542, allocations: 3.938 kB / 1.371 GB, free: 10.27 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.0004502/0.5424, allocations: 388.9 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5425, allocations: 8.031 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.5425, allocations: 7.953 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.5426, allocations: 167 kB / 1.372 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.5427, allocations: 4 kB / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5427, allocations: 0 / 1.372 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.5428, allocations: 33.69 kB / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.5428, allocations: 0 / 1.372 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.5429, allocations: 3.984 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5429, allocations: 4 kB / 1.372 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.364e-05/0.5429, allocations: 8 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.5431, allocations: 165.6 kB / 1.372 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.5432, allocations: 34.55 kB / 1.372 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.5432, allocations: 4 kB / 1.372 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.5434, allocations: 51.48 kB / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.5434, allocations: 0 / 1.372 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002425/0.5436, allocations: 77.7 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.5437, allocations: 59.34 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.5438, allocations: 96.97 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.5438, allocations: 25.7 kB / 1.372 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.5439, allocations: 84.14 kB / 1.372 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.5439, allocations: 7.906 kB / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.5439, allocations: 0 / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.544, allocations: 318.8 kB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.5441, allocations: 11.98 kB / 1.373 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.5441, allocations: 35.42 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.568e-05/0.5442, allocations: 15.98 kB / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5442, allocations: 0 / 1.373 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001128/0.5443, allocations: 69.66 kB / 1.373 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5443, allocations: 8 kB / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5443, allocations: 0 / 1.373 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5443, allocations: 4 kB / 1.373 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.5444, allocations: 4 kB / 1.373 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5444, allocations: 4 kB / 1.373 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.5445, allocations: 3.906 kB / 1.373 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.5445, allocations: 4 kB / 1.373 GB, free: 8.367 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 0.0001003/0.5446, allocations: 121.7 kB / 1.373 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.5446, allocations: 7.938 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.5447, allocations: 7.5 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5447, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5447, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5447, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.5448, allocations: 157.6 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5448, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.5448, allocations: 4 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5449, allocations: 0 / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.5449, allocations: 3.984 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5449, allocations: 0 / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5449, allocations: 8 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.545, allocations: 81.08 kB / 1.373 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.5451, allocations: 85 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.5451, allocations: 3.938 kB / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.5451, allocations: 4 kB / 1.373 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.5452, allocations: 4 kB / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.5452, allocations: 0 / 1.373 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.5452, allocations: 83.27 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5452, allocations: 4 kB / 1.373 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003067/0.5456, allocations: 47.88 kB / 1.373 GB, free: 7.656 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.0004099/0.546, allocations: 184.9 kB / 1.373 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.5461, allocations: 31.92 kB / 1.373 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5461, allocations: 4.188 kB / 1.373 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.5462, allocations: 8 kB / 1.373 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.5463, allocations: 0 / 1.373 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.5466, allocations: 124.6 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.5469, allocations: 0.6809 MB / 1.374 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.547, allocations: 3.984 kB / 1.374 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.547, allocations: 11.44 kB / 1.374 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/0.547, allocations: 4 kB / 1.374 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of Templates: time 0.004021/0.551, allocations: 1.168 MB / 1.375 GB, free: 5.391 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","../files/Buildings_9_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