Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001569/0.001569, allocations: 109 kB / 16.37 MB, free: 6.477 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.001828/0.001828, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.407/2.407, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 64.72 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002812/0.3145, allocations: 1.635 MB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.3157, allocations: 0.7999 MB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.3158, allocations: 0 / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.3158, allocations: 15.86 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.3159, allocations: 19.8 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.3165, allocations: 151.6 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.3167, allocations: 159.5 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3168, allocations: 21.11 kB / 1.022 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3169, allocations: 71.75 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.317, allocations: 75.73 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.317, allocations: 12 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.3172, allocations: 99.91 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.3173, allocations: 43.88 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.3173, allocations: 51.78 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3176, allocations: 215.3 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3176, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3176, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.3176, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 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.0007876/0.3184, allocations: 0.5407 MB / 1.023 GB, free: 5.879 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3185, allocations: 8.922 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.3185, allocations: 12.84 kB / 1.023 GB, free: 5.859 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.3187, allocations: 194.8 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3187, allocations: 8.375 kB / 1.023 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3187, allocations: 4.375 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.3192, allocations: 153.8 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3192, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3192, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.3192, allocations: 0 / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003889/0.3196, allocations: 107.9 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007571/0.3204, allocations: 384.5 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/0.3207, allocations: 98.5 kB / 1.024 GB, free: 4.828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.3211, allocations: 92.78 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3211, allocations: 0 / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.3215, allocations: 147.2 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.3215, allocations: 0 / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001047/0.3226, allocations: 301.3 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3226, allocations: 55.41 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.3227, allocations: 146.5 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3228, allocations: 29.7 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3228, allocations: 100.3 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3229, allocations: 31.78 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.3229, allocations: 29.7 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3231, allocations: 330.8 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3232, allocations: 39.97 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.3234, allocations: 78.12 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3236, allocations: 125 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3236, allocations: 384 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003477/0.324, allocations: 157.5 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.324, allocations: 10.59 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.324, allocations: 128 / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3241, allocations: 11.94 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3242, allocations: 19.97 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3242, allocations: 4 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3243, allocations: 19.89 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.3244, allocations: 7.984 kB / 1.025 GB, free: 3.016 MB / 0.795 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 0.0001001/0.3245, allocations: 131.9 kB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3245, allocations: 11.91 kB / 1.025 GB, free: 2.871 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.3245, allocations: 16.7 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3245, allocations: 4 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3245, allocations: 0 / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3246, allocations: 0 / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.3255, allocations: 0.5217 MB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3255, allocations: 3.984 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.3256, allocations: 11.98 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3256, allocations: 0 / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.3256, allocations: 4 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.3257, allocations: 7.938 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3257, allocations: 0 / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007484/0.3264, allocations: 327.1 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.3265, allocations: 89.11 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.3265, allocations: 8 kB / 1.026 GB, free: 1.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3267, allocations: 27.89 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.3268, allocations: 11.98 kB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3268, allocations: 3.984 kB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.514e-05/0.3269, allocations: 113.7 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3269, allocations: 0 / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000309/0.3272, allocations: 44 kB / 1.026 GB, free: 1.602 MB / 0.795 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.0003384/0.3276, allocations: 164.8 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.3281, allocations: 143.8 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3281, allocations: 0 / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.3284, allocations: 91.86 kB / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3287, allocations: 10.66 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.3293, allocations: 264.6 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3296, allocations: 0.704 MB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.597e-05/0.3296, allocations: 8 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.3297, allocations: 15.42 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of SimCode: time 1.793e-06/0.3297, allocations: 0 / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of Templates: time 0.004838/0.3345, allocations: 2.016 MB / 1.03 GB, free: 14.16 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches