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.001068/0.001068, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008429/0.008429, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.391/2.391, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 12 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7106, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001711/0.7124, allocations: 1.352 MB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.7141, allocations: 0.7855 MB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.386e-05/0.7142, allocations: 1.125 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.7143, allocations: 11.92 kB / 0.9571 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.7144, allocations: 18.33 kB / 0.9571 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000677/0.7151, allocations: 123.9 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.7153, allocations: 143.2 kB / 0.9574 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.7154, allocations: 34.86 kB / 0.9574 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.7156, allocations: 54.83 kB / 0.9575 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.7157, allocations: 69.97 kB / 0.9576 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.7157, allocations: 7.625 kB / 0.9576 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.7159, allocations: 95.56 kB / 0.9577 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.716, allocations: 25.78 kB / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.716, allocations: 85.64 kB / 0.9578 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.7163, allocations: 191.1 kB / 0.9579 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7163, allocations: 8 kB / 0.9579 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7163, allocations: 0 / 0.9579 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.7163, allocations: 0 / 0.9579 GB, free: 5.469 MB / 0.7169 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.000667/0.717, allocations: 0.5226 MB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.717, allocations: 9 kB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.7171, allocations: 10.78 kB / 0.9585 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.274e-05/0.7172, allocations: 195.9 kB / 0.9587 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.7172, allocations: 3.312 kB / 0.9587 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.7173, allocations: 8.875 kB / 0.9587 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.7177, allocations: 165.3 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.7178, allocations: 0 / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.7178, allocations: 1.5 kB / 0.9588 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7178, allocations: 5.5 kB / 0.9588 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.7182, allocations: 123.4 kB / 0.959 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.7189, allocations: 393.6 kB / 0.9593 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003607/0.7193, allocations: 121.6 kB / 0.9594 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.7196, allocations: 99.78 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.7196, allocations: 1.375 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.7201, allocations: 151.8 kB / 0.9597 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.7201, allocations: 4 kB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001137/0.7212, allocations: 361.2 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.7213, allocations: 57.97 kB / 0.9601 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.7214, allocations: 139.9 kB / 0.9602 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.7214, allocations: 35.08 kB / 0.9603 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.7214, allocations: 104.9 kB / 0.9604 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.7215, allocations: 26.95 kB / 0.9604 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.7215, allocations: 18.78 kB / 0.9604 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.7216, allocations: 325.3 kB / 0.9607 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.7217, allocations: 45.22 kB / 0.9608 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.7219, allocations: 91.77 kB / 0.9608 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.7222, allocations: 140 kB / 0.961 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7222, allocations: 4.812 kB / 0.961 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003598/0.7225, allocations: 168.8 kB / 0.9611 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.7226, allocations: 11.05 kB / 0.9612 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.7226, allocations: 1.375 kB / 0.9612 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7226, allocations: 2.75 kB / 0.9612 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.7227, allocations: 24.42 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7228, allocations: 2.75 kB / 0.9612 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.7229, allocations: 17.55 kB / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.7229, allocations: 16.17 kB / 0.9612 GB, free: 2.762 MB / 0.7169 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.069e-05/0.723, allocations: 124.6 kB / 0.9613 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.723, allocations: 13.31 kB / 0.9613 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.723, allocations: 19.14 kB / 0.9614 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.7231, allocations: 5.047 kB / 0.9614 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7231, allocations: 0 / 0.9614 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.7231, allocations: 1.062 kB / 0.9614 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009682/0.724, allocations: 0.5524 MB / 0.9619 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.7241, allocations: 0.9375 kB / 0.9619 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.7241, allocations: 19.11 kB / 0.9619 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7242, allocations: 1.469 kB / 0.9619 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.7242, allocations: 4.953 kB / 0.9619 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7242, allocations: 4.938 kB / 0.9619 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7242, allocations: 0 / 0.9619 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.725, allocations: 365.1 kB / 0.9623 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.725, allocations: 84.02 kB / 0.9624 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.725, allocations: 6.203 kB / 0.9624 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.7253, allocations: 38.81 kB / 0.9624 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.7253, allocations: 8.328 kB / 0.9624 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.7254, allocations: 2.094 kB / 0.9624 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.7254, allocations: 111.8 kB / 0.9625 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7254, allocations: 0 / 0.9625 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003491/0.7258, allocations: 48.19 kB / 0.9626 GB, free: 1.672 MB / 0.7169 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.0003201/0.7261, allocations: 173.8 kB / 0.9627 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.7267, allocations: 168.5 kB / 0.9629 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7267, allocations: 0 / 0.9629 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.727, allocations: 106.5 kB / 0.963 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.7273, allocations: 13.2 kB / 0.963 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.728, allocations: 313.3 kB / 0.9633 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.7281, allocations: 0.6993 MB / 0.964 GB, free: 488 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.317e-05/0.7282, allocations: 8.141 kB / 0.964 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.7282, allocations: 15.89 kB / 0.964 GB, free: 472 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7282, allocations: 4 kB / 0.964 GB, free: 468 kB / 0.7169 GB Notification: Performance of Templates: time 0.004872/0.7331, allocations: 1.836 MB / 0.9658 GB, free: 15.5 MB / 0.7325 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