Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007806/0.007805, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001597/0.001598, allocations: 198.6 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 63.89 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9296/0.9319, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002881/0.9348, allocations: 1.632 MB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.9362, allocations: 0.7868 MB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.681e-05/0.9363, allocations: 1.312 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.486e-05/0.9363, allocations: 9.938 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.9364, allocations: 28.58 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.9371, allocations: 151.6 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.9373, allocations: 161 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.9374, allocations: 22.44 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.9375, allocations: 70.08 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.9377, allocations: 72.69 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.9377, allocations: 13.31 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.938, allocations: 105 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.671e-05/0.938, allocations: 38.88 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.9381, allocations: 58.44 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.9384, allocations: 202.8 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9384, allocations: 1.562 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9384, allocations: 3.938 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.9385, allocations: 0 / 1.091 GB, free: 3.434 MB / 0.8575 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.0007426/0.9392, allocations: 0.5388 MB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.9392, allocations: 9.906 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.9393, allocations: 10.5 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/0.9394, allocations: 191.1 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.9394, allocations: 7.188 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.9395, allocations: 6.141 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.94, allocations: 145.5 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.94, allocations: 0 / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.94, allocations: 5.422 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.94, allocations: 1.812 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.9405, allocations: 113.1 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.9412, allocations: 375.4 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.9416, allocations: 102.8 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.942, allocations: 87.14 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.942, allocations: 0.7969 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/0.9425, allocations: 140.9 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.9425, allocations: 0 / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0012/0.9437, allocations: 306.9 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.9438, allocations: 55.16 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.9439, allocations: 159.6 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.9439, allocations: 27.11 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.944, allocations: 99.73 kB / 1.093 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.944, allocations: 29.05 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.9441, allocations: 31.05 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.824e-05/0.9441, allocations: 325.7 kB / 1.094 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.9443, allocations: 42.22 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.9444, allocations: 86.02 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.9447, allocations: 124.3 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.9447, allocations: 0.8594 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003811/0.9451, allocations: 156.1 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9452, allocations: 6.828 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.9452, allocations: 5.469 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.9452, allocations: 2.453 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.9454, allocations: 23.17 kB / 1.094 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.9454, allocations: 7.219 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.9455, allocations: 21.66 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.9455, allocations: 5.578 kB / 1.094 GB, free: 1.094 MB / 0.8575 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/0.9456, allocations: 124.8 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.9456, allocations: 13.55 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.9457, allocations: 12.61 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.9457, allocations: 1.656 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9457, allocations: 1.094 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9457, allocations: 0.6562 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.9468, allocations: 0.5199 MB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.9468, allocations: 0.75 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.29e-05/0.9469, allocations: 17.2 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9469, allocations: 0 / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.9469, allocations: 7.844 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9469, allocations: 5.641 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9469, allocations: 0.6875 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008003/0.9477, allocations: 332.2 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.9478, allocations: 88.2 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.9478, allocations: 10.84 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.948, allocations: 23.89 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.9481, allocations: 6.656 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.9481, allocations: 14.28 kB / 1.095 GB, free: 268 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.9482, allocations: 107.3 kB / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9482, allocations: 0 / 1.096 GB, free: 184 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003781/0.9486, allocations: 49.81 kB / 1.096 GB, free: 172 kB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/0.9489, allocations: 160 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005731/0.9495, allocations: 144.1 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9495, allocations: 0.6562 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.9499, allocations: 88.86 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.9502, allocations: 13.84 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.951, allocations: 275.8 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.9513, allocations: 0.7004 MB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.101e-05/0.9514, allocations: 10.19 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.9515, allocations: 16.77 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.9515, allocations: 0 / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.006086/0.9576, allocations: 2.062 MB / 1.099 GB, free: 14.91 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches