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.008889/0.008889, allocations: 100.9 kB / 15.73 MB, free: 6 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.001784/0.001784, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.519/2.519, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.64 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3312, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00272/0.3339, allocations: 1.634 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3353, allocations: 0.7882 MB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.3354, allocations: 4 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.3354, allocations: 7.875 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.203e-05/0.3355, allocations: 27.72 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.3361, allocations: 147.6 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3363, allocations: 159.5 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3364, allocations: 25.11 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.3365, allocations: 67.81 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.3366, allocations: 75.72 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3367, allocations: 16 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3369, allocations: 99.84 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.3369, allocations: 35.89 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.337, allocations: 59.72 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3373, allocations: 223.2 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3373, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3373, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3373, allocations: 0 / 1.091 GB, free: 14.14 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.0008092/0.3381, allocations: 0.5366 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3382, allocations: 8.031 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.3382, allocations: 16.83 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3384, allocations: 193.6 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.3384, allocations: 12.31 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3384, allocations: 4.375 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.3389, allocations: 137.9 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3389, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.339, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.339, allocations: 7.922 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.3394, allocations: 107.8 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.3402, allocations: 384.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.3406, allocations: 98.44 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/0.3409, allocations: 88.8 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3409, allocations: 0 / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004376/0.3414, allocations: 139.3 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.3414, allocations: 0 / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001155/0.3426, allocations: 305.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3426, allocations: 55.56 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.3427, allocations: 145.7 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3428, allocations: 33.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.091e-05/0.3428, allocations: 108.3 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3429, allocations: 23.8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.3429, allocations: 29.7 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3431, allocations: 330.8 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.3432, allocations: 39.97 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3434, allocations: 88.8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.3436, allocations: 121 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3436, allocations: 0 / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003526/0.344, allocations: 165.4 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.344, allocations: 8 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.344, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3441, allocations: 4.375 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3442, allocations: 19.92 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3442, allocations: 4 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.3444, allocations: 7.984 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.3444, allocations: 12.06 kB / 1.094 GB, free: 10.68 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 0.000101/0.3445, allocations: 129.8 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3445, allocations: 11.91 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.3446, allocations: 16.81 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3446, allocations: 4.094 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3446, allocations: 3.938 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3446, allocations: 4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3456, allocations: 0.5255 MB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3457, allocations: 4 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.3458, allocations: 11.98 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3458, allocations: 4 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3458, allocations: 3.984 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3458, allocations: 3.938 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3458, allocations: 4 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.3466, allocations: 327.3 kB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.3467, allocations: 89.02 kB / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.3467, allocations: 0 / 1.095 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.347, allocations: 23.91 kB / 1.095 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.347, allocations: 11.98 kB / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.347, allocations: 8 kB / 1.095 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.643e-05/0.3471, allocations: 107.2 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3471, allocations: 0 / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003593/0.3475, allocations: 47.92 kB / 1.096 GB, free: 9.254 MB / 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.0003785/0.3479, allocations: 168.9 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.3485, allocations: 143.8 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3485, allocations: 0 / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.3488, allocations: 92.17 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3491, allocations: 11.98 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.3498, allocations: 260.2 kB / 1.096 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.3501, allocations: 0.7059 MB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.278e-05/0.3502, allocations: 8.172 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.3502, allocations: 11.44 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of SimCode: time 1.633e-06/0.3502, allocations: 0 / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of Templates: time 0.004863/0.3551, allocations: 2.024 MB / 1.099 GB, free: 5.805 MB / 0.8575 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