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.254/2.254, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.00114/0.001141, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008607/0.0008607, allocations: 91.94 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.06e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.288, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9752/1.263, allocations: 150.3 MB / 1.365 GB, free: 3.797 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.264, allocations: 76.77 kB / 1.366 GB, free: 3.754 MB / 0.823 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.006066/1.27, allocations: 2.159 MB / 1.368 GB, free: 1.891 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.144e-06/1.27, allocations: 0 / 1.368 GB, free: 1.891 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.27, allocations: 0 / 1.368 GB, free: 1.891 MB / 0.823 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.0003756/1.27, allocations: 375.2 kB / 1.368 GB, free: 1.477 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.27, allocations: 12.03 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/1.27, allocations: 4.578 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/1.27, allocations: 170.5 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/1.27, allocations: 0 / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/1.27, allocations: 4 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/1.27, allocations: 33.69 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.27, allocations: 3.938 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.271, allocations: 3.984 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.271, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/1.271, allocations: 7.438 kB / 1.368 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/1.271, allocations: 165 kB / 1.368 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/1.271, allocations: 26.14 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.871e-05/1.271, allocations: 16.98 kB / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/1.271, allocations: 0 / 1.368 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/1.271, allocations: 58.91 kB / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/1.271, allocations: 0 / 1.368 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001663/1.271, allocations: 55.44 kB / 1.369 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/1.271, allocations: 51.41 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/1.271, allocations: 104 kB / 1.369 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/1.271, allocations: 32.2 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/1.271, allocations: 80.14 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/1.271, allocations: 11.14 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/1.271, allocations: 0 / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.272, allocations: 329.8 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/1.272, allocations: 4 kB / 1.369 GB, free: 204 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/1.272, allocations: 34.94 kB / 1.369 GB, free: 160 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.778e-05/1.272, allocations: 11.5 kB / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.272, allocations: 0 / 1.369 GB, free: 152 kB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.651e-05/1.272, allocations: 76.14 kB / 1.369 GB, free: 76 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.272, allocations: 4 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.272, allocations: 0 / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.272, allocations: 4 kB / 1.369 GB, free: 68 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/1.272, allocations: 7.938 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.272, allocations: 4 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/1.272, allocations: 0 / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.272, allocations: 4 kB / 1.369 GB, free: 52 kB / 0.823 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 0.0001003/1.272, allocations: 124.3 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/1.272, allocations: 4 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/1.272, allocations: 3.5 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/1.272, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.272, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.272, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/1.272, allocations: 157.7 kB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.272, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/1.272, allocations: 4 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/1.272, allocations: 0 / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/1.272, allocations: 0 / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.272, allocations: 7.984 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.272, allocations: 1.031 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/1.272, allocations: 91.92 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/1.272, allocations: 77.11 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/1.272, allocations: 7.109 kB / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/1.272, allocations: 0 / 1.37 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/1.273, allocations: 4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/1.273, allocations: 4 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.205e-05/1.273, allocations: 79.28 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.273, allocations: 0 / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002536/1.273, allocations: 47.11 kB / 1.37 GB, free: 15.38 MB / 0.8386 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.0003813/1.273, allocations: 179.7 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001033/1.273, allocations: 31.36 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.273, allocations: 0 / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/1.273, allocations: 15.88 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.843e-05/1.273, allocations: 7.953 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/1.274, allocations: 68.73 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/1.274, allocations: 0.6809 MB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.08e-05/1.274, allocations: 3.984 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/1.274, allocations: 11.62 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.274, allocations: 4 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.003374/1.277, allocations: 1.182 MB / 1.372 GB, free: 13.18 MB / 0.8386 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