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.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.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.001475/0.001476, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002182/0.002182, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.585/1.585, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.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.816/2.816, allocations: 437 MB / 0.7101 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8267, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.00324/0.83, allocations: 1.565 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.8314, allocations: 0.7207 MB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.8315, allocations: 4 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.8316, allocations: 3.984 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.8316, allocations: 11.88 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.8323, allocations: 107.8 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.8324, allocations: 75.77 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.8325, allocations: 15.98 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.8326, allocations: 31.92 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.8327, allocations: 43.81 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.8328, allocations: 8 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.833, allocations: 99.89 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.833, allocations: 15.88 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.413e-05/0.8331, allocations: 35.86 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.8333, allocations: 137.6 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.8333, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8333, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8333, allocations: 0 / 1.02 GB, free: 15.81 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.0007211/0.8341, allocations: 424.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8341, allocations: 12.03 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.727e-05/0.8342, allocations: 8.844 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.8343, allocations: 172.3 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.8343, allocations: 8.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.8344, allocations: 4.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.8346, allocations: 65.97 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8346, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.8346, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.8346, allocations: 7.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.8348, allocations: 39.98 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.8355, allocations: 320.5 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.8356, allocations: 50.56 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.8357, allocations: 32.97 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.8357, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002688/0.836, allocations: 71.38 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 4.989e-06/0.836, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004251/0.8365, allocations: 145.5 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.8365, allocations: 51.41 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8367, allocations: 129.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.8367, allocations: 25.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.8368, allocations: 92.14 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.8368, allocations: 15.8 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.8369, allocations: 29.7 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.8371, allocations: 318.8 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.8372, allocations: 27.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.8373, allocations: 50.55 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.8375, allocations: 74.48 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8375, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/0.8378, allocations: 113.5 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8378, allocations: 11.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8378, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.8378, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.8379, allocations: 15.94 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8379, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.838, allocations: 15.83 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.838, allocations: 4 kB / 1.022 GB, free: 13.26 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.0001097/0.8382, allocations: 125.8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.8382, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.8382, allocations: 16.36 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.8382, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.8382, allocations: 3.938 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8382, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005366/0.8388, allocations: 386.7 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8388, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.8388, allocations: 8 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8389, allocations: 0 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.8389, allocations: 7.984 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8389, allocations: 80 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.8389, allocations: 7.922 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.8392, allocations: 203.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.8393, allocations: 85.02 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.8393, allocations: 7.984 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.316e-05/0.8394, allocations: 8 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.8395, allocations: 11.92 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.8395, allocations: 3.984 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.994e-05/0.8396, allocations: 91.92 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8396, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003219/0.8399, allocations: 40 kB / 1.023 GB, free: 12.17 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.0004799/0.8404, allocations: 169.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.8407, allocations: 71.89 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8407, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.8408, allocations: 31.98 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.841, allocations: 7.984 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.8416, allocations: 196.5 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.8419, allocations: 0.6885 MB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.842, allocations: 11.94 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.842, allocations: 7.438 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.842, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.004766/0.8468, allocations: 1.415 MB / 1.025 GB, free: 9.535 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0