Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_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.004886/0.004886, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001371/0.001371, allocations: 201.1 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.647/2.647, allocations: 482.6 MB / 0.755 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 75.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2702, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002473/0.2727, allocations: 1.489 MB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2739, allocations: 0.7323 MB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.274, allocations: 0 / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.274, allocations: 3.938 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.048e-05/0.2741, allocations: 7.875 kB / 1.244 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.2746, allocations: 131.5 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.2747, allocations: 71.83 kB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.327e-05/0.2748, allocations: 15.98 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.2748, allocations: 43.83 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.2749, allocations: 31.84 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2749, allocations: 8 kB / 1.244 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2751, allocations: 95.91 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2752, allocations: 19.91 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.2752, allocations: 31.86 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.2754, allocations: 143.5 kB / 1.245 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2754, allocations: 0 / 1.245 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2754, allocations: 4 kB / 1.245 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2754, allocations: 0 / 1.245 GB, free: 6.992 MB / 0.9981 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.0005657/0.276, allocations: 424.7 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2761, allocations: 8.031 kB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2761, allocations: 34.75 kB / 1.245 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.2761, allocations: 12.89 kB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2763, allocations: 176.3 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2763, allocations: 384 / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.2763, allocations: 8.359 kB / 1.245 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.2765, allocations: 85.7 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2765, allocations: 3.938 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2765, allocations: 0 / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-06/0.2765, allocations: 0 / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2766, allocations: 35.97 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.2772, allocations: 324.7 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.2773, allocations: 50.48 kB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.133e-05/0.2774, allocations: 32.97 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2774, allocations: 0 / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.2776, allocations: 79.38 kB / 1.246 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.2776, allocations: 7.938 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.000367/0.278, allocations: 133.7 kB / 1.246 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.278, allocations: 59.34 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.271e-05/0.2781, allocations: 125.8 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.2781, allocations: 29.7 kB / 1.246 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.2782, allocations: 88.09 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2782, allocations: 15.91 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.2783, allocations: 33.7 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2784, allocations: 322.8 kB / 1.247 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.2785, allocations: 23.98 kB / 1.247 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.2786, allocations: 50.55 kB / 1.247 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2787, allocations: 74.5 kB / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2788, allocations: 0 / 1.247 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002322/0.279, allocations: 117.5 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.279, allocations: 4 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.279, allocations: 0 / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.279, allocations: 7.938 kB / 1.247 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.335e-05/0.2791, allocations: 11.98 kB / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2791, allocations: 0 / 1.247 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.2792, allocations: 12 kB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.2792, allocations: 11.98 kB / 1.247 GB, free: 4.379 MB / 0.9981 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.611e-05/0.2793, allocations: 122.2 kB / 1.247 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.2793, allocations: 7.953 kB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.2794, allocations: 8.375 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2794, allocations: 0 / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2794, allocations: 4 kB / 1.247 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.2794, allocations: 3.984 kB / 1.247 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004169/0.2798, allocations: 374.5 kB / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2798, allocations: 0 / 1.247 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.2799, allocations: 11.92 kB / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2799, allocations: 0 / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2799, allocations: 0 / 1.247 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2799, allocations: 3.938 kB / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2799, allocations: 0 / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.2802, allocations: 215.9 kB / 1.248 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.2802, allocations: 81.06 kB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.2802, allocations: 4 kB / 1.248 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.2803, allocations: 7.922 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.2804, allocations: 12 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2804, allocations: 4 kB / 1.248 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.972e-05/0.2804, allocations: 91.27 kB / 1.248 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2804, allocations: 4 kB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002577/0.2807, allocations: 47.8 kB / 1.248 GB, free: 3.297 MB / 0.9981 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.000762/0.2815, allocations: 0.8071 MB / 1.249 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002199/0.2817, allocations: 79.88 kB / 1.249 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2817, allocations: 0 / 1.249 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2818, allocations: 31.98 kB / 1.249 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.2821, allocations: 15.92 kB / 1.249 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2835, allocations: 1.488 MB / 1.25 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2838, allocations: 0.6885 MB / 1.251 GB, free: 56 kB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.2839, allocations: 8 kB / 1.251 GB, free: 48 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.2839, allocations: 19.42 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of SimCode: time 2.6e-07/0.2839, allocations: 4 kB / 1.251 GB, free: 24 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.405/5.689, allocations: 2.647 MB / 1.254 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.77/28.46, allocations: 10.28 kB / 1.254 GB, free: 14.26 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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