Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.496/2.496, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001111/0.00111, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.695/1.695, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.0008656/0.0008653, allocations: 99.59 kB / 0.9318 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.9e-05, allocations: 10.66 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3113, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.341, allocations: 152.4 MB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.341, allocations: 82.39 kB / 1.368 GB, free: 1.547 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.01223/1.354, allocations: 3.879 MB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.354, allocations: 0 / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.141e-05/1.354, allocations: 4 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006842/1.354, allocations: 0.5117 MB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.355, allocations: 19.97 kB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/1.355, allocations: 15.77 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.355, allocations: 178.9 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/1.355, allocations: 6.812 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/1.355, allocations: 7.25 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.355, allocations: 92.75 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.355, allocations: 0 / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/1.355, allocations: 2 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.355, allocations: 7.938 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/1.355, allocations: 51.88 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/1.356, allocations: 408.3 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/1.356, allocations: 68.92 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/1.356, allocations: 50.97 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/1.356, allocations: 4 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/1.357, allocations: 101.5 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/1.357, allocations: 0 / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003723/1.357, allocations: 155.1 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.357, allocations: 55.41 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/1.357, allocations: 127.7 kB / 1.373 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/1.357, allocations: 37.45 kB / 1.373 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/1.357, allocations: 98.61 kB / 1.373 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/1.357, allocations: 19.66 kB / 1.373 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/1.357, allocations: 0 / 1.373 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.358, allocations: 330 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/1.358, allocations: 19.5 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/1.358, allocations: 67.58 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.322e-05/1.358, allocations: 38.91 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.358, allocations: 0 / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002111/1.358, allocations: 126.2 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.358, allocations: 8 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.358, allocations: 3.953 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.358, allocations: 4 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.358, allocations: 19.98 kB / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.358, allocations: 16.05 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.358, allocations: 15.62 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/1.358, allocations: 7.984 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.304e-05/1.358, allocations: 108.2 kB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/1.359, allocations: 7.906 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/1.359, allocations: 15.62 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/1.359, allocations: 3.953 kB / 1.374 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.359, allocations: 8 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.359, allocations: 0 / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/1.359, allocations: 455.1 kB / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.359, allocations: 3.984 kB / 1.375 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.833e-05/1.359, allocations: 19.92 kB / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.299e-06/1.359, allocations: 3.953 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.359, allocations: 7.938 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.359, allocations: 4 kB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.359, allocations: 4 kB / 1.375 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/1.36, allocations: 241 kB / 1.375 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/1.36, allocations: 89 kB / 1.375 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/1.36, allocations: 7.953 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/1.36, allocations: 31.53 kB / 1.375 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.36, allocations: 7.984 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/1.36, allocations: 4 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.605e-05/1.36, allocations: 119 kB / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.36, allocations: 0 / 1.375 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003364/1.361, allocations: 59.86 kB / 1.375 GB, free: 10.43 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004197/1.361, allocations: 174.3 kB / 1.375 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002151/1.361, allocations: 87.11 kB / 1.375 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.361, allocations: 0 / 1.375 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/1.361, allocations: 51.17 kB / 1.375 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/1.361, allocations: 8.516 kB / 1.375 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/1.362, allocations: 148.4 kB / 1.376 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/1.362, allocations: 0.7082 MB / 1.376 GB, free: 9.285 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.36e-05/1.362, allocations: 4 kB / 1.376 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/1.362, allocations: 11.44 kB / 1.376 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.362, allocations: 0 / 1.376 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.004864/1.367, allocations: 2.009 MB / 1.378 GB, free: 7.285 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches