Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00524/0.00524, allocations: 95.58 kB / 15.73 MB, free: 6.039 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.001395/0.001395, allocations: 204.6 kB / 16.68 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.418/2.418, allocations: 437.1 MB / 0.7106 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 72.02 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2389, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002229/0.2412, allocations: 1.484 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.2423, allocations: 0.7284 MB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.2424, allocations: 3.938 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.2424, allocations: 3.938 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.2424, allocations: 7.922 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.2429, allocations: 131.5 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.243, allocations: 75.77 kB / 1.169 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/0.2431, allocations: 12 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.2432, allocations: 43.89 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.2432, allocations: 31.91 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.2433, allocations: 4 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.2434, allocations: 99.78 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.2435, allocations: 11.98 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.2435, allocations: 31.84 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2437, allocations: 147.8 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2437, allocations: 0 / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2437, allocations: 4 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2438, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 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.000553/0.2443, allocations: 432.6 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.2444, allocations: 8.031 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.2444, allocations: 38.75 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.2444, allocations: 8.891 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2445, allocations: 176.3 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2446, allocations: 4.375 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.2446, allocations: 4.375 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2448, allocations: 81.7 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2448, allocations: 3.984 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2448, allocations: 4 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2448, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2449, allocations: 39.91 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.2455, allocations: 320.8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2456, allocations: 46.55 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.2457, allocations: 36.97 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.2457, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.2459, allocations: 79.31 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2459, allocations: 4 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003687/0.2462, allocations: 137.7 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.2463, allocations: 55.41 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.2464, allocations: 121.8 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.2464, allocations: 29.7 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2465, allocations: 92.09 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2465, allocations: 19.78 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.2466, allocations: 29.7 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2467, allocations: 330.7 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.628e-05/0.2468, allocations: 23.98 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.773e-05/0.2469, allocations: 50.55 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.247, allocations: 70.56 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.247, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000221/0.2472, allocations: 113.5 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2473, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.2473, allocations: 3.938 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2473, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.2474, allocations: 11.98 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2474, allocations: 4.062 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.2474, allocations: 4 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2475, allocations: 7.984 kB / 1.171 GB, free: 1.859 MB / 0.92 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 8.527e-05/0.2476, allocations: 123.4 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.2476, allocations: 7.953 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.2476, allocations: 4.375 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2476, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2476, allocations: 4 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2476, allocations: 7.938 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.2481, allocations: 382.4 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2481, allocations: 0 / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.2481, allocations: 7.984 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2481, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2481, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.2481, allocations: 7.875 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2481, allocations: 3.938 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.2484, allocations: 219.9 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.2485, allocations: 85 kB / 1.172 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.2485, allocations: 4 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.2486, allocations: 7.922 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.2486, allocations: 4 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.2486, allocations: 8 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.2487, allocations: 91.92 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2487, allocations: 4 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002523/0.249, allocations: 39.92 kB / 1.172 GB, free: 0.7656 MB / 0.92 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.0007441/0.2497, allocations: 0.8026 MB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.2499, allocations: 75.89 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.25, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.2501, allocations: 31.98 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.2503, allocations: 15.86 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.2518, allocations: 1.488 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.2521, allocations: 0.6885 MB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.24e-05/0.2521, allocations: 8 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.2521, allocations: 23.42 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.2522, allocations: 0 / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.492/7.744, allocations: 2.658 MB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/24.15, allocations: 9.203 kB / 1.178 GB, free: 11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed