Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001728/0.001728, allocations: 195 kB / 16.14 MB, free: 6.648 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.404/2.404, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7324, allocations: 140.4 MB / 0.9489 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002385/0.7348, allocations: 1.559 MB / 0.9504 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.7359, allocations: 0.7328 MB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.7359, allocations: 1.781 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.736, allocations: 3.938 kB / 0.9512 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.736, allocations: 9.141 kB / 0.9512 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004314/0.7365, allocations: 105 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.7366, allocations: 70.25 kB / 0.9513 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.7367, allocations: 16.8 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.7367, allocations: 37.61 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.7368, allocations: 36.22 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.7368, allocations: 3.906 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.737, allocations: 89.22 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.737, allocations: 14.91 kB / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.7371, allocations: 39.92 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.7373, allocations: 131.7 kB / 0.9517 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7373, allocations: 0 / 0.9517 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.7373, allocations: 4 kB / 0.9517 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.7373, allocations: 0 / 0.9517 GB, free: 6.938 MB / 0.7169 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.0005152/0.7378, allocations: 429.5 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.7379, allocations: 8.906 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.7379, allocations: 4.812 kB / 0.9521 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.135e-05/0.738, allocations: 172.3 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.738, allocations: 1.906 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.7381, allocations: 8.5 kB / 0.9523 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.7382, allocations: 80.55 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.7383, allocations: 0 / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.7383, allocations: 1.25 kB / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7383, allocations: 0 / 0.9524 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.7384, allocations: 36.56 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.739, allocations: 321.8 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.7391, allocations: 45.41 kB / 0.9528 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.993e-05/0.7392, allocations: 34.94 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.7392, allocations: 1.25 kB / 0.9528 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.7394, allocations: 82.06 kB / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.7394, allocations: 0 / 0.9529 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003743/0.7398, allocations: 140.2 kB / 0.953 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.7398, allocations: 57.34 kB / 0.9531 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.7399, allocations: 120.8 kB / 0.9532 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7399, allocations: 27.23 kB / 0.9532 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.7399, allocations: 89.75 kB / 0.9533 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.74, allocations: 14.47 kB / 0.9533 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.74, allocations: 39.45 kB / 0.9533 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.7401, allocations: 323.8 kB / 0.9536 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.7402, allocations: 23.05 kB / 0.9537 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.319e-05/0.7402, allocations: 44.47 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.7404, allocations: 77.33 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7404, allocations: 0 / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002173/0.7406, allocations: 117.8 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.7406, allocations: 5.094 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7407, allocations: 1.156 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.7407, allocations: 1.219 kB / 0.9539 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.681e-05/0.7408, allocations: 11.89 kB / 0.9539 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7408, allocations: 5.094 kB / 0.9539 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.699e-05/0.7409, allocations: 12.06 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.7409, allocations: 2.875 kB / 0.9539 GB, free: 4.801 MB / 0.7169 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 6.694e-05/0.741, allocations: 131.1 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.741, allocations: 6.75 kB / 0.9541 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.741, allocations: 9.906 kB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.741, allocations: 1.875 kB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.741, allocations: 0 / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.741, allocations: 4 kB / 0.9541 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.7414, allocations: 379.2 kB / 0.9544 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7414, allocations: 0 / 0.9544 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.7415, allocations: 8.266 kB / 0.9544 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7415, allocations: 0 / 0.9544 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.7415, allocations: 9.344 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.7415, allocations: 1.344 kB / 0.9545 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7415, allocations: 3.938 kB / 0.9545 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.7417, allocations: 213 kB / 0.9547 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.7418, allocations: 87.92 kB / 0.9547 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.7418, allocations: 3.984 kB / 0.9548 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.7419, allocations: 6.812 kB / 0.9548 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.7419, allocations: 11.52 kB / 0.9548 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.7419, allocations: 2.344 kB / 0.9548 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.742, allocations: 95.42 kB / 0.9549 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.742, allocations: 1.219 kB / 0.9549 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003103/0.7423, allocations: 40.55 kB / 0.9549 GB, free: 3.879 MB / 0.7169 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.0003102/0.7426, allocations: 168.4 kB / 0.9551 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.7429, allocations: 65.38 kB / 0.9551 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7429, allocations: 1.156 kB / 0.9551 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.337e-05/0.743, allocations: 39.72 kB / 0.9552 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7432, allocations: 6.844 kB / 0.9552 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.7436, allocations: 191.7 kB / 0.9554 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.7438, allocations: 0.693 MB / 0.956 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.7438, allocations: 7.047 kB / 0.956 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.7438, allocations: 10.12 kB / 0.956 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7438, allocations: 1 kB / 0.956 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.003996/0.7478, allocations: 1.375 MB / 0.9574 GB, free: 2.113 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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