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.00156/0.00156, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001767/0.001768, allocations: 183 kB / 17.34 MB, free: 5.766 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 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.254/2.254, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8736, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002607/0.8763, allocations: 1.633 MB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.8776, allocations: 0.7871 MB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.8777, allocations: 1.094 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.8777, allocations: 9.562 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.8778, allocations: 24.59 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006232/0.8784, allocations: 160.3 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.8786, allocations: 156.6 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.8788, allocations: 17.48 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.879, allocations: 67.14 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.8791, allocations: 76.36 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.8792, allocations: 20.72 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.8794, allocations: 97.97 kB / 1.092 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.8795, allocations: 38.5 kB / 1.092 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.8796, allocations: 63.56 kB / 1.092 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.8799, allocations: 210.4 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8799, allocations: 0 / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8799, allocations: 0.7812 kB / 1.092 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.8799, allocations: 0 / 1.092 GB, free: 3.438 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.000776/0.8807, allocations: 0.5349 MB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.8808, allocations: 9.781 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.8809, allocations: 11.09 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.881, allocations: 194.2 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.881, allocations: 3.844 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.956e-05/0.8811, allocations: 6.203 kB / 1.093 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005823/0.8817, allocations: 153.7 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.8817, allocations: 0 / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.8817, allocations: 1.625 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.8817, allocations: 1.781 kB / 1.093 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004333/0.8822, allocations: 100.6 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000816/0.883, allocations: 384.2 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.8834, allocations: 102.4 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.8838, allocations: 86.17 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.8838, allocations: 1.656 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.8842, allocations: 140.4 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.8843, allocations: 0 / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001188/0.8854, allocations: 302.5 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.8855, allocations: 58.38 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.8856, allocations: 148 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.8857, allocations: 31.72 kB / 1.094 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.8857, allocations: 111.6 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.8858, allocations: 25.73 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-05/0.8858, allocations: 30.67 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.8859, allocations: 325.7 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.8861, allocations: 38.62 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.8862, allocations: 89.67 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.8865, allocations: 119.8 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8865, allocations: 0.9844 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004079/0.8869, allocations: 165 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.887, allocations: 7.812 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.887, allocations: 2.359 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.887, allocations: 2.469 kB / 1.095 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.8872, allocations: 27.36 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.8872, allocations: 2.344 kB / 1.095 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.8873, allocations: 18.25 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.8873, allocations: 4.984 kB / 1.095 GB, free: 1.105 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.792e-05/0.8874, allocations: 126 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.8874, allocations: 12.62 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.8875, allocations: 12.8 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8875, allocations: 5.344 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8875, allocations: 0.6875 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.8875, allocations: 0.7969 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.8886, allocations: 0.5249 MB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.8886, allocations: 0 / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.8887, allocations: 12.52 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8887, allocations: 1.703 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.8887, allocations: 3.344 kB / 1.096 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8888, allocations: 4.531 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8888, allocations: 1.422 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.8896, allocations: 327.8 kB / 1.096 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.8896, allocations: 89.12 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.8897, allocations: 6.312 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.89, allocations: 23.52 kB / 1.096 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.89, allocations: 11.78 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.8901, allocations: 9.703 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.161e-05/0.8901, allocations: 111.4 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8901, allocations: 0 / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003731/0.8905, allocations: 45.61 kB / 1.096 GB, free: 192 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.0003744/0.8909, allocations: 172 kB / 1.096 GB, free: 72 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.8915, allocations: 149.4 kB / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8915, allocations: 0 / 1.097 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.8918, allocations: 92.73 kB / 1.097 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.8921, allocations: 8.406 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.8929, allocations: 305 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.8932, allocations: 0.7026 MB / 1.098 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.8932, allocations: 14.17 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/0.8932, allocations: 0.5938 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.005359/0.8986, allocations: 2.139 MB / 1.1 GB, free: 14.88 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/jenkins1/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