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.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00114/0.00114, allocations: 201.3 kB / 16.14 MB, free: 6.801 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.329/1.329, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.33/2.33, allocations: 390.2 MB / 0.6642 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002296/0.002296, allocations: 71.88 kB / 0.8119 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7029, allocations: 140.4 MB / 0.9489 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.004318/0.7073, allocations: 1.558 MB / 0.9504 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.709, allocations: 0.722 MB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.7091, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.027e-05/0.7092, allocations: 7.938 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.501e-05/0.7093, allocations: 14.41 kB / 0.9512 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008067/0.7102, allocations: 107.9 kB / 0.9513 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00016/0.7103, allocations: 70.44 kB / 0.9513 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.7105, allocations: 14.66 kB / 0.9514 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.7107, allocations: 41.14 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.7108, allocations: 35.03 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.7109, allocations: 3.312 kB / 0.9514 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.7112, allocations: 90.47 kB / 0.9515 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.7113, allocations: 10.8 kB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.7114, allocations: 32.44 kB / 0.9516 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.7118, allocations: 143.3 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.7118, allocations: 0 / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.995e-06/0.7118, allocations: 0 / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.7118, allocations: 0 / 0.9517 GB, free: 7.242 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.0008527/0.7127, allocations: 429 kB / 0.9521 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.7127, allocations: 13.16 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.7128, allocations: 3.594 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.713, allocations: 168.5 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.713, allocations: 7.172 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.713, allocations: 7.188 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.7133, allocations: 69.34 kB / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.7133, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.7134, allocations: 0 / 0.9524 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7134, allocations: 5.219 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001984/0.7136, allocations: 40.16 kB / 0.9524 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.7143, allocations: 321.9 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.7145, allocations: 52.84 kB / 0.9528 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.7147, allocations: 32 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.7147, allocations: 0.7812 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.715, allocations: 77.44 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.715, allocations: 0 / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005559/0.7156, allocations: 144 kB / 0.953 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.7156, allocations: 57.78 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.7157, allocations: 117.6 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.7158, allocations: 27.2 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.188e-05/0.7158, allocations: 93.34 kB / 0.9533 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.7158, allocations: 11.44 kB / 0.9533 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.7159, allocations: 29.39 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.716, allocations: 325.2 kB / 0.9536 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.7161, allocations: 37.89 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.7163, allocations: 44.72 kB / 0.9537 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.7165, allocations: 70.33 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7165, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003551/0.7169, allocations: 117.6 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.7169, allocations: 5.438 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7169, allocations: 0 / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.717, allocations: 1.656 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.7171, allocations: 20.67 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.7171, allocations: 1.531 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.7172, allocations: 10.97 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.7173, allocations: 3.812 kB / 0.9539 GB, free: 5.102 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 9.157e-05/0.7174, allocations: 127.4 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.7174, allocations: 7 kB / 0.9541 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.7174, allocations: 9.625 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7175, allocations: 0 / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7175, allocations: 1.344 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.7175, allocations: 0 / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.718, allocations: 394.3 kB / 0.9544 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.718, allocations: 1.219 kB / 0.9544 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.7181, allocations: 7.547 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7181, allocations: 0 / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.7181, allocations: 1.062 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.7182, allocations: 0.875 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7182, allocations: 3.938 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.7186, allocations: 209.8 kB / 0.9547 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.7186, allocations: 90.75 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.7186, allocations: 1.656 kB / 0.9547 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.7188, allocations: 2.781 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.7189, allocations: 18.31 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7189, allocations: 2.188 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.7189, allocations: 93.8 kB / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7189, allocations: 0 / 0.9549 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005022/0.7194, allocations: 35.5 kB / 0.9549 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.000419/0.7199, allocations: 166.8 kB / 0.9551 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.7202, allocations: 68.75 kB / 0.9551 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7202, allocations: 5.312 kB / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.7204, allocations: 36.45 kB / 0.9552 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.7208, allocations: 13.38 kB / 0.9552 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.7213, allocations: 186.8 kB / 0.9553 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.7215, allocations: 0.6964 MB / 0.956 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.326e-05/0.7216, allocations: 3.406 kB / 0.956 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.7216, allocations: 15.48 kB / 0.956 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.7216, allocations: 0 / 0.956 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.00633/0.728, allocations: 1.378 MB / 0.9574 GB, free: 2.406 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