Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 100.1 kB / 15.88 MB, free: 12 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.001322/0.001322, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.88 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.603, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003245/0.6063, allocations: 1.657 MB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.6078, allocations: 0.7869 MB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.045e-05/0.6079, allocations: 0 / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.117e-05/0.608, allocations: 7.922 kB / 1.02 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.501e-05/0.6081, allocations: 11.88 kB / 1.02 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.6087, allocations: 127.7 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.6088, allocations: 131.6 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.609, allocations: 16 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.6091, allocations: 59.75 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.6092, allocations: 63.78 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.6093, allocations: 8 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.6095, allocations: 91.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.6095, allocations: 23.91 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.6096, allocations: 51.72 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.6098, allocations: 137.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6098, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6098, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.6098, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007984/0.6106, allocations: 482.3 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6107, allocations: 8.031 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.6108, allocations: 12.84 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.611, allocations: 188.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.611, allocations: 12.38 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.611, allocations: 12.12 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.6113, allocations: 89.62 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6113, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.6113, allocations: 3.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6113, allocations: 3.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.6116, allocations: 63.89 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.6125, allocations: 372.5 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.6126, allocations: 66.55 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6128, allocations: 56.83 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.6128, allocations: 4.141 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.6131, allocations: 103.3 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 3.897e-06/0.6131, allocations: 3.984 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005999/0.6137, allocations: 221.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.6138, allocations: 51.41 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.6139, allocations: 156.7 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6139, allocations: 25.7 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.059e-05/0.614, allocations: 96.38 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.614, allocations: 23.81 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.6141, allocations: 37.64 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.6143, allocations: 322.8 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.6144, allocations: 43.97 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.6145, allocations: 72.27 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/0.6148, allocations: 116.1 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6148, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003456/0.6151, allocations: 149.5 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6152, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6152, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6152, allocations: 4.094 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.6154, allocations: 19.92 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.6154, allocations: 7.938 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.6155, allocations: 19.83 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.6155, allocations: 4 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001013/0.6156, allocations: 127.9 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.6157, allocations: 7.906 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.6157, allocations: 20.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.6157, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6157, allocations: 7.875 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.6157, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006129/0.6163, allocations: 458.4 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6164, allocations: 4.062 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.6164, allocations: 7.984 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6164, allocations: 7.938 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.6165, allocations: 4 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6165, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6165, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.6169, allocations: 271.2 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.617, allocations: 92.89 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.617, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.6171, allocations: 15.98 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.6172, allocations: 7.984 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.6172, allocations: 4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.6173, allocations: 109.3 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6173, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003141/0.6176, allocations: 43.94 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003597/0.618, allocations: 173.6 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003222/0.6183, allocations: 103.9 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6183, allocations: 0 / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.6185, allocations: 59.91 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.6188, allocations: 21.83 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.6193, allocations: 272 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.6195, allocations: 0.6965 MB / 1.026 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.547e-05/0.6196, allocations: 19.42 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6196, allocations: 0 / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of Templates: time 0.003978/0.6236, allocations: 2.037 MB / 1.028 GB, free: 7.855 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches