Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 100.1 kB / 15.88 MB, free: 12 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.001885/0.001886, allocations: 196 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.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.578/2.578, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.6293, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003019/0.6324, allocations: 1.558 MB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001397/0.6338, allocations: 0.7402 MB / 1.02 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.6339, allocations: 3.938 kB / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.6339, allocations: 0 / 1.02 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.634, allocations: 11.91 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.6346, allocations: 103.8 kB / 1.02 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.6347, allocations: 71.72 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.6348, allocations: 23.92 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.6349, allocations: 27.91 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.13e-05/0.635, allocations: 39.83 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.635, allocations: 4 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.6352, allocations: 95.84 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.6352, allocations: 11.92 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/0.6353, allocations: 31.84 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.6355, allocations: 97.8 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6355, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.31e-07/0.6356, allocations: 4 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.6356, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 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.0007041/0.6363, allocations: 421 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6363, allocations: 8.031 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.6364, allocations: 8.844 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6365, allocations: 180.2 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.6365, allocations: 4.375 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.6366, allocations: 4.375 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.6368, allocations: 77.91 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6368, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6368, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6368, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.637, allocations: 35.97 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.6376, allocations: 316.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.6377, allocations: 50.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.324e-05/0.6378, allocations: 32.95 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.6379, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.638, allocations: 75.38 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.6381, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004087/0.6385, allocations: 137.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6385, allocations: 55.34 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.6386, allocations: 129.8 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.6387, allocations: 25.7 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.6387, allocations: 88.14 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.6388, allocations: 15.81 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.6388, allocations: 33.7 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6389, allocations: 322.8 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.639, allocations: 23.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.224e-05/0.6391, allocations: 46.55 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.6393, allocations: 74.5 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6393, allocations: 3.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.6396, allocations: 117.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6396, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6396, allocations: 7.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6396, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.6397, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6397, allocations: 4.062 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.255e-05/0.6398, allocations: 15.84 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.6398, allocations: 7.984 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 0.0001026/0.64, allocations: 122.2 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.64, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.64, allocations: 12.38 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.64, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.64, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.64, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.6406, allocations: 378.8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6406, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.6406, allocations: 11.92 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.6406, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.6406, allocations: 8 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.6407, allocations: 0 / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6407, allocations: 3.938 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.641, allocations: 211.5 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.641, allocations: 81.11 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.641, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.6411, allocations: 11.98 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.6412, allocations: 7.938 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.6412, allocations: 3.984 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.6413, allocations: 95.27 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6413, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002992/0.6416, allocations: 43.98 kB / 1.023 GB, free: 12.3 MB / 0.7794 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: 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.0003583/0.642, allocations: 167.7 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.6422, allocations: 68.03 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6422, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.6423, allocations: 43.91 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.6426, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.6431, allocations: 223.8 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.6433, allocations: 0.6848 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.6434, allocations: 15.42 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of SimCode: time 3.8e-07/0.6434, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.003674/0.6471, allocations: 1.602 MB / 1.026 GB, free: 9.445 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches