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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001077/0.001077, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001069/0.00107, allocations: 192.8 kB / 17.29 MB, free: 5.48 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.3 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2506, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002552/0.2532, allocations: 1.504 MB / 0.9526 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2544, allocations: 0.7323 MB / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.2545, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.2545, allocations: 3.938 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.908e-05/0.2546, allocations: 7.875 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.2551, allocations: 123.6 kB / 0.9534 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.2552, allocations: 83.75 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.2553, allocations: 8 kB / 0.9535 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.2554, allocations: 39.86 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.2555, allocations: 39.81 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.2555, allocations: 8 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.2557, allocations: 99.84 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.2557, allocations: 7.984 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.692e-05/0.2558, allocations: 35.8 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.256, allocations: 147.5 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.256, allocations: 4 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/0.256, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.256, allocations: 0 / 0.9539 GB, free: 5.23 MB / 0.7325 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.0005941/0.2566, allocations: 420.9 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2567, allocations: 8.031 kB / 0.9543 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.2567, allocations: 12.84 kB / 0.9543 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2569, allocations: 168.3 kB / 0.9545 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2569, allocations: 4.375 kB / 0.9545 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.2569, allocations: 4.375 kB / 0.9545 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2571, allocations: 77.91 kB / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2571, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2571, allocations: 0 / 0.9545 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2571, allocations: 7.984 kB / 0.9546 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2573, allocations: 31.98 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.2578, allocations: 320.7 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.258, allocations: 50.5 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.258, allocations: 32.97 kB / 0.955 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.2581, allocations: 4.078 kB / 0.955 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.2582, allocations: 79.36 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2583, allocations: 4 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003735/0.2586, allocations: 133.5 kB / 0.9552 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.2587, allocations: 59.28 kB / 0.9552 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.2588, allocations: 121.8 kB / 0.9553 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.2588, allocations: 29.7 kB / 0.9554 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.2589, allocations: 88.14 kB / 0.9555 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2589, allocations: 23.73 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.2589, allocations: 33.7 kB / 0.9555 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.259, allocations: 314.8 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.2591, allocations: 27.98 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.2592, allocations: 50.53 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.2594, allocations: 78.8 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2594, allocations: 0 / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002422/0.2596, allocations: 117.5 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2597, allocations: 11.98 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2597, allocations: 0 / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2597, allocations: 3.984 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.257e-05/0.2598, allocations: 8 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2598, allocations: 12 kB / 0.9561 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.2599, allocations: 11.89 kB / 0.9561 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2599, allocations: 4 kB / 0.9561 GB, free: 2.676 MB / 0.7325 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 9.44e-05/0.26, allocations: 129.2 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.26, allocations: 0 / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.2601, allocations: 16.36 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2601, allocations: 0 / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2601, allocations: 0 / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2601, allocations: 4 kB / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.2605, allocations: 386.2 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2605, allocations: 0 / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.083e-05/0.2606, allocations: 7.938 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2606, allocations: 0 / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2606, allocations: 7.984 kB / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.2606, allocations: 0 / 0.9567 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2606, allocations: 3.938 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.2609, allocations: 203.5 kB / 0.9569 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.2609, allocations: 85.02 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.261, allocations: 3.984 kB / 0.9569 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.2611, allocations: 4 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.2611, allocations: 11.94 kB / 0.957 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.2611, allocations: 3.984 kB / 0.957 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.562e-05/0.2612, allocations: 91.27 kB / 0.957 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2612, allocations: 8 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002805/0.2615, allocations: 36 kB / 0.9571 GB, free: 1.594 MB / 0.7325 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.0003189/0.2618, allocations: 162.3 kB / 0.9572 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.262, allocations: 68.02 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.262, allocations: 8.062 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.358e-05/0.2621, allocations: 39.91 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.2624, allocations: 7.984 kB / 0.9574 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.2628, allocations: 180.9 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.263, allocations: 0.6971 MB / 0.9582 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.2631, allocations: 8 kB / 0.9582 GB, free: 388 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.2631, allocations: 11.44 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2631, allocations: 0 / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of Templates: time 0.003874/0.267, allocations: 1.455 MB / 0.9597 GB, free: 14.92 MB / 0.7481 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 -s gbode -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/jenkins1/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