Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001086/0.001086, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 182 kB / 16.92 MB, free: 6.922 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.75/2.75, allocations: 462.7 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 16.11 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2946, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001647/0.2963, allocations: 1.35 MB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2976, allocations: 0.7829 MB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.2976, allocations: 4 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.2977, allocations: 7.922 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.2977, allocations: 23.78 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004572/0.2982, allocations: 123.7 kB / 1.062 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.2984, allocations: 151.5 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.551e-05/0.2985, allocations: 17.12 kB / 1.062 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.844e-05/0.2986, allocations: 55.83 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.2987, allocations: 71.72 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.2987, allocations: 4 kB / 1.062 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.2989, allocations: 99.84 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.559e-05/0.2989, allocations: 31.88 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.364e-05/0.299, allocations: 77.42 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.2992, allocations: 143.9 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2992, allocations: 4 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2992, allocations: 0 / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2993, allocations: 4 kB / 1.062 GB, free: 2.031 MB / 0.8106 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.0007031/0.3, allocations: 0.5213 MB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3, allocations: 11.97 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.3001, allocations: 16.84 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3002, allocations: 180.1 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.3002, allocations: 4.375 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.3002, allocations: 16.3 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.3007, allocations: 161.8 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3008, allocations: 0 / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.3008, allocations: 8 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3008, allocations: 0 / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.3013, allocations: 123.9 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.3021, allocations: 392.5 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.3025, allocations: 118.5 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.3028, allocations: 100.9 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3028, allocations: 3.938 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000459/0.3033, allocations: 159.4 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3033, allocations: 3.938 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001262/0.3046, allocations: 353.3 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3046, allocations: 63.33 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3048, allocations: 157.2 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3048, allocations: 25.7 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.3049, allocations: 100.4 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3049, allocations: 23.66 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.305, allocations: 21.7 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3051, allocations: 326.8 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3052, allocations: 51.97 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.3054, allocations: 81.12 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.3057, allocations: 141 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3057, allocations: 0 / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003955/0.3061, allocations: 169.5 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3062, allocations: 8 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3062, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.3062, allocations: 3.938 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3064, allocations: 23.98 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3064, allocations: 3.984 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.3065, allocations: 23.97 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3065, allocations: 11.98 kB / 1.065 GB, free: 14.39 MB / 0.8262 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.0001029/0.3066, allocations: 125.7 kB / 1.066 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3067, allocations: 11.91 kB / 1.066 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.3067, allocations: 8.719 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3067, allocations: 4 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3067, allocations: 0 / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3067, allocations: 3.984 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.3079, allocations: 0.5568 MB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3079, allocations: 480 / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.085e-05/0.308, allocations: 19.98 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.308, allocations: 0 / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.308, allocations: 7.984 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.308, allocations: 7.938 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.308, allocations: 3.938 kB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.3089, allocations: 359.2 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.309, allocations: 85.02 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.309, allocations: 4 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3092, allocations: 35.91 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.3093, allocations: 7.984 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3093, allocations: 7.984 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.348e-05/0.3094, allocations: 107.3 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3094, allocations: 0 / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003567/0.3098, allocations: 47.98 kB / 1.067 GB, free: 12.91 MB / 0.8262 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.0004008/0.3102, allocations: 164.9 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005848/0.3108, allocations: 167.8 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3108, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.3112, allocations: 104.1 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.3115, allocations: 11.98 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.3122, allocations: 342.7 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3125, allocations: 0.7004 MB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.3126, allocations: 15.42 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3126, allocations: 3.938 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.004103/0.3167, allocations: 2.129 MB / 1.07 GB, free: 9.234 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches