Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 106.1 kB / 16.41 MB, free: 6.508 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.001214/0.001214, allocations: 187 kB / 17.34 MB, free: 5.742 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8128/0.8142, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002701/0.817, allocations: 1.512 MB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.8182, allocations: 0.7284 MB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.8183, allocations: 0 / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.8183, allocations: 3.938 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.8184, allocations: 11.86 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.819, allocations: 123.6 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.8191, allocations: 87.7 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.485e-05/0.8192, allocations: 8 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.8193, allocations: 39.89 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.231e-05/0.8194, allocations: 35.84 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.8194, allocations: 4 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.8196, allocations: 99.84 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.8196, allocations: 11.98 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.454e-05/0.8197, allocations: 35.78 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.8199, allocations: 147.3 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8199, allocations: 0 / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.946e-06/0.82, allocations: 3.984 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.82, allocations: 3.938 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006488/0.8206, allocations: 415 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8207, allocations: 8.031 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.8207, allocations: 8.844 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.8208, allocations: 176.2 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.8209, allocations: 8.375 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.8209, allocations: 4.375 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.8211, allocations: 69.97 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.8211, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.8211, allocations: 0 / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8211, allocations: 3.984 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.8213, allocations: 35.97 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.8219, allocations: 320.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.822, allocations: 50.5 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.8221, allocations: 32.95 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.8222, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.8224, allocations: 79.38 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 6.222e-06/0.8224, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003837/0.8228, allocations: 141.4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.8229, allocations: 51.41 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.823, allocations: 126.1 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.823, allocations: 29.69 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.8231, allocations: 92.2 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.8232, allocations: 19.81 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.8232, allocations: 29.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8233, allocations: 322.8 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.8234, allocations: 23.98 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.8235, allocations: 55.45 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.8237, allocations: 79.36 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8237, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.824, allocations: 125.4 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.824, allocations: 8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.824, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.824, allocations: 4.062 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.8241, allocations: 15.98 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.8241, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.8242, allocations: 11.94 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.8242, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.291e-05/0.8243, allocations: 121.7 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.8244, allocations: 7.906 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.8244, allocations: 12.36 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8244, allocations: 8 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8244, allocations: 3.938 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8244, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.8249, allocations: 382.4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8249, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.8249, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8249, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.825, allocations: 3.984 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.825, allocations: 3.938 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.825, allocations: 8.328 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.8252, allocations: 207.4 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/0.8253, allocations: 85.02 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.8253, allocations: 7.984 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.8254, allocations: 0 / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.8255, allocations: 11.92 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.8255, allocations: 8 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.68e-05/0.8255, allocations: 91.27 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8255, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003711/0.8259, allocations: 39.94 kB / 1.173 GB, free: 13.36 MB / 0.9044 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003648/0.8263, allocations: 162 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.8265, allocations: 75.89 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8266, allocations: 4 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.583e-05/0.8267, allocations: 35.92 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.8269, allocations: 7.984 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.8274, allocations: 210.1 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.8277, allocations: 0.6985 MB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.8277, allocations: 11.44 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8277, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.003434/0.8312, allocations: 1.623 MB / 1.176 GB, free: 10.5 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches