Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Herkel2008WindowsTiltedOpen,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.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_9_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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 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.001228/0.001228, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7332, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002858/0.7362, allocations: 1.49 MB / 0.951 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.7374, allocations: 0.7369 MB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.7375, allocations: 2.219 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.7375, allocations: 3.938 kB / 0.9518 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.7376, allocations: 9.969 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.7381, allocations: 124.3 kB / 0.9519 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.823e-05/0.7382, allocations: 75.55 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.7383, allocations: 25.88 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.7384, allocations: 29.89 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.7385, allocations: 39.27 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.7385, allocations: 6.531 kB / 0.9521 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.7387, allocations: 98.09 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.7387, allocations: 18.38 kB / 0.9522 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.135e-05/0.7388, allocations: 35.33 kB / 0.9522 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.739, allocations: 135.8 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.739, allocations: 4 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.739, allocations: 1.094 kB / 0.9523 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.739, allocations: 0 / 0.9523 GB, free: 7.012 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.0005366/0.7395, allocations: 423.8 kB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7396, allocations: 9.375 kB / 0.9527 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.7396, allocations: 5.312 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.586e-05/0.7397, allocations: 174.9 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.7397, allocations: 3.156 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.7398, allocations: 12.44 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.7399, allocations: 72.72 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.74, allocations: 0 / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.74, allocations: 0 / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.74, allocations: 1.25 kB / 0.953 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.7401, allocations: 45.47 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.7407, allocations: 321 kB / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.7408, allocations: 56.48 kB / 0.9534 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.7409, allocations: 31.66 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.741, allocations: 1.094 kB / 0.9534 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.7411, allocations: 81.25 kB / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.7412, allocations: 0 / 0.9535 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000376/0.7415, allocations: 140.8 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.7416, allocations: 52.91 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/0.7417, allocations: 120.5 kB / 0.9538 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.7417, allocations: 27.92 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.7417, allocations: 91.23 kB / 0.9539 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.7417, allocations: 13.12 kB / 0.9539 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.7418, allocations: 35.08 kB / 0.954 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.7418, allocations: 323.9 kB / 0.9543 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.7419, allocations: 27.55 kB / 0.9543 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.742, allocations: 48.08 kB / 0.9544 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.7422, allocations: 77.14 kB / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7422, allocations: 0 / 0.9544 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002141/0.7424, allocations: 109.2 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.7424, allocations: 6.031 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.7424, allocations: 1.344 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7425, allocations: 1.25 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.7426, allocations: 20.48 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7426, allocations: 1.219 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.212e-05/0.7426, allocations: 6.906 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.7427, allocations: 8.016 kB / 0.9546 GB, free: 4.867 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.509e-05/0.7427, allocations: 121.7 kB / 0.9547 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.7428, allocations: 11.28 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.7428, allocations: 9.625 kB / 0.9547 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7428, allocations: 5.219 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7428, allocations: 1.562 kB / 0.9547 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.7428, allocations: 4 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.7432, allocations: 382.4 kB / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7432, allocations: 0 / 0.9551 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.996e-05/0.7432, allocations: 11.45 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7432, allocations: 1.406 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.7432, allocations: 1.5 kB / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7433, allocations: 0 / 0.9551 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.7433, allocations: 7.938 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.7435, allocations: 202.7 kB / 0.9553 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/0.7435, allocations: 90.3 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.7436, allocations: 1.156 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.826e-05/0.7437, allocations: 7.297 kB / 0.9554 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.7437, allocations: 6.125 kB / 0.9554 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.7437, allocations: 6.562 kB / 0.9554 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.7438, allocations: 92.2 kB / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7438, allocations: 0 / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002899/0.7441, allocations: 40.92 kB / 0.9555 GB, free: 3.957 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.0003188/0.7444, allocations: 179.5 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.7446, allocations: 77.92 kB / 0.9558 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7446, allocations: 0 / 0.9558 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.7447, allocations: 36.22 kB / 0.9558 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.745, allocations: 9.547 kB / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.7454, allocations: 179.3 kB / 0.956 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.7455, allocations: 0.6876 MB / 0.9567 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.7456, allocations: 11.58 kB / 0.9567 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.7456, allocations: 11.41 kB / 0.9567 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.7456, allocations: 0 / 0.9567 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of Templates: time 0.004192/0.7498, allocations: 1.453 MB / 0.9581 GB, free: 2.145 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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