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.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 132 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.001551/0.001551, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.489/2.489, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 67.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7299, allocations: 140.4 MB / 0.9496 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002436/0.7324, allocations: 1.495 MB / 0.9511 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.7335, allocations: 0.7339 MB / 0.9518 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.7336, allocations: 1.406 kB / 0.9518 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.7336, allocations: 3.938 kB / 0.9518 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.7337, allocations: 9.188 kB / 0.9518 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.7342, allocations: 125.4 kB / 0.9519 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.7344, allocations: 76.2 kB / 0.952 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.7345, allocations: 16.91 kB / 0.952 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.7346, allocations: 38.3 kB / 0.952 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.7346, allocations: 42.53 kB / 0.9521 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.7347, allocations: 6.375 kB / 0.9521 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.7349, allocations: 94.41 kB / 0.9522 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.312e-05/0.7349, allocations: 14.48 kB / 0.9522 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.7349, allocations: 36.27 kB / 0.9522 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.7352, allocations: 143.4 kB / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7352, allocations: 0 / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7352, allocations: 1.781 kB / 0.9523 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7352, allocations: 0 / 0.9523 GB, free: 7.246 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.0005659/0.7358, allocations: 427.1 kB / 0.9528 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.7358, allocations: 13.23 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.7359, allocations: 4.156 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.206e-05/0.7359, allocations: 168.6 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.736, allocations: 6.594 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.736, allocations: 4.094 kB / 0.9529 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.7362, allocations: 69 kB / 0.953 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.7362, allocations: 4 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.7362, allocations: 0 / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7362, allocations: 1.344 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.7363, allocations: 44.69 kB / 0.9531 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.7369, allocations: 321.5 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.737, allocations: 56.31 kB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.808e-05/0.7371, allocations: 32.19 kB / 0.9534 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.7371, allocations: 1.219 kB / 0.9535 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.7373, allocations: 78.09 kB / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.7373, allocations: 0 / 0.9535 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003702/0.7377, allocations: 140 kB / 0.9537 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.7377, allocations: 52.53 kB / 0.9537 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.7378, allocations: 121.7 kB / 0.9538 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.7378, allocations: 27.2 kB / 0.9539 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.7379, allocations: 89.92 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.7379, allocations: 18.52 kB / 0.954 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.738, allocations: 29.86 kB / 0.954 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/0.738, allocations: 329.4 kB / 0.9543 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.7381, allocations: 26.98 kB / 0.9543 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.7382, allocations: 52.39 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.7383, allocations: 73.33 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7383, allocations: 0 / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002194/0.7386, allocations: 104.6 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7386, allocations: 7.938 kB / 0.9545 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7386, allocations: 5.141 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.7386, allocations: 1.062 kB / 0.9546 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.7387, allocations: 15.88 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7387, allocations: 2.344 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.7388, allocations: 15.92 kB / 0.9546 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.7388, allocations: 3.188 kB / 0.9546 GB, free: 5.105 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.211e-05/0.7389, allocations: 122.3 kB / 0.9547 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.7389, allocations: 7.5 kB / 0.9547 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.7389, allocations: 13.55 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.739, allocations: 1.094 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.739, allocations: 0 / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.739, allocations: 3.984 kB / 0.9547 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.7393, allocations: 392.1 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7393, allocations: 0 / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.7394, allocations: 3.5 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7394, allocations: 1.094 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.7394, allocations: 0 / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7394, allocations: 5.047 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7394, allocations: 4.016 kB / 0.9551 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.7397, allocations: 210.1 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.7397, allocations: 87.3 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.7397, allocations: 1.562 kB / 0.9554 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.793e-05/0.7398, allocations: 9.422 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.7399, allocations: 6.844 kB / 0.9554 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.7399, allocations: 10.89 kB / 0.9554 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.7399, allocations: 93.36 kB / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7399, allocations: 0 / 0.9555 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003032/0.7403, allocations: 40.03 kB / 0.9556 GB, free: 4.188 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.000331/0.7406, allocations: 161 kB / 0.9557 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.7409, allocations: 78.62 kB / 0.9558 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.7409, allocations: 4.125 kB / 0.9558 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.741, allocations: 35.36 kB / 0.9558 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.7412, allocations: 8.062 kB / 0.9558 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.7417, allocations: 172.6 kB / 0.956 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.7419, allocations: 0.6956 MB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.7419, allocations: 3.938 kB / 0.9567 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.742, allocations: 10.53 kB / 0.9567 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.742, allocations: 0 / 0.9567 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.00555/0.7475, allocations: 1.46 MB / 0.9581 GB, free: 2.391 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