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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.829/2.829, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00058/0.0005804, allocations: 10.56 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4212, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001927/0.4232, allocations: 1.327 MB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4245, allocations: 0.7444 MB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.4246, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.4247, allocations: 7.922 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.4248, allocations: 19.8 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.4254, allocations: 119.7 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.4256, allocations: 135.5 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.4257, allocations: 25.05 kB / 1.06 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.4258, allocations: 55.83 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.4259, allocations: 59.8 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.426, allocations: 8 kB / 1.06 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.4262, allocations: 91.84 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.4262, allocations: 27.89 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.4263, allocations: 45.69 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.4265, allocations: 147.9 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4265, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4265, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4266, allocations: 0 / 1.061 GB, free: 2.516 MB / 0.8106 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.0007634/0.4273, allocations: 0.5212 MB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4274, allocations: 8.031 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.4274, allocations: 19.84 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4276, allocations: 174.9 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.4276, allocations: 8 kB / 1.061 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.4276, allocations: 7.953 kB / 1.061 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.4281, allocations: 157.5 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4281, allocations: 0 / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.4281, allocations: 8 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4281, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003964/0.4285, allocations: 131.8 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.4293, allocations: 392.5 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.4297, allocations: 118.5 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.43, allocations: 104.7 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.4301, allocations: 4 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004217/0.4305, allocations: 151.3 kB / 1.062 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4305, allocations: 0 / 1.062 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001088/0.4316, allocations: 353.3 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4317, allocations: 55.39 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.4318, allocations: 154.7 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.4318, allocations: 25.7 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.4319, allocations: 100.4 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.432, allocations: 27.84 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.432, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4321, allocations: 326.8 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4323, allocations: 47.97 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.4324, allocations: 89.06 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.4326, allocations: 55.97 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4326, allocations: 112 / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003673/0.433, allocations: 169.3 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.433, allocations: 8.375 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.433, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.433, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.4332, allocations: 32.03 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4332, allocations: 11.92 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4333, allocations: 23.83 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4334, allocations: 4 kB / 1.064 GB, free: 15.01 MB / 0.8262 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,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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 0.0001131/0.4335, allocations: 121.8 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.4335, allocations: 11.91 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.4335, allocations: 20.7 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4336, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4336, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4336, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009894/0.4346, allocations: 0.5528 MB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4346, allocations: 3.984 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.4347, allocations: 19.98 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4347, allocations: 0 / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4347, allocations: 8 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4347, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4347, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.4354, allocations: 359.2 kB / 1.065 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.4355, allocations: 88.95 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.4356, allocations: 12 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.4358, allocations: 23.97 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.4358, allocations: 7.984 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.4358, allocations: 7.984 kB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.4359, allocations: 111.2 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4359, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003547/0.4363, allocations: 48 kB / 1.065 GB, free: 13.53 MB / 0.8262 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,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * 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.0004136/0.4367, allocations: 165.1 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.4372, allocations: 171.9 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4373, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003099/0.4376, allocations: 100 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.4379, allocations: 11.95 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.4386, allocations: 301.2 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.439, allocations: 0.7004 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.52e-05/0.439, allocations: 8 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.4391, allocations: 15.42 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of SimCode: time 9.12e-07/0.4391, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.007244/0.4463, allocations: 1.809 MB / 1.068 GB, free: 10.23 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches