Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001427, 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.001299/0.0013, allocations: 199.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.322/1.322, allocations: 222.9 MB / 240.5 MB, free: 4.594 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.493/2.493, allocations: 437 MB / 0.7106 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.89 kB / 0.8692 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6038/0.605, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002959/0.608, allocations: 1.558 MB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.6093, allocations: 0.7479 MB / 1.02 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.6094, allocations: 4 kB / 1.02 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.6094, allocations: 3.984 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.6095, allocations: 7.875 kB / 1.02 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.61, allocations: 107.8 kB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.6101, allocations: 59.84 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.6102, allocations: 19.97 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.762e-05/0.6103, allocations: 23.92 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.6104, allocations: 43.83 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.6104, allocations: 4 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.6106, allocations: 91.84 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.6106, allocations: 19.91 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.6107, allocations: 27.86 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.6109, allocations: 97.8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6109, allocations: 4 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.51e-07/0.6109, allocations: 0 / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.6109, allocations: 0 / 1.02 GB, free: 15.97 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006184/0.6116, allocations: 424.9 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.6116, allocations: 8.031 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.6116, allocations: 12.83 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.6118, allocations: 172.2 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.6118, allocations: 384 / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.6118, allocations: 8.375 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.612, allocations: 69.97 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.612, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.6121, allocations: 4 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6121, allocations: 4 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.6122, allocations: 35.97 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.6128, allocations: 320.6 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.613, allocations: 50.55 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.6131, allocations: 32.97 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.6131, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.6133, allocations: 75.38 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.6133, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004109/0.6137, allocations: 153.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.6137, allocations: 51.41 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6139, allocations: 121.8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.6139, allocations: 25.7 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.6139, allocations: 92.14 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.614, allocations: 15.8 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.614, allocations: 25.72 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6141, allocations: 322.8 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.6142, allocations: 31.92 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.6143, allocations: 50.98 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.6145, allocations: 70.5 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6145, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.6148, allocations: 109.5 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6148, allocations: 5.25 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6148, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6148, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.6149, allocations: 15.97 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.615, allocations: 3.938 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.974e-05/0.615, allocations: 19.83 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6151, allocations: 4.062 kB / 1.022 GB, free: 13.43 MB / 0.7794 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 0.0001005/0.6152, allocations: 122.3 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.6152, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.6152, allocations: 8.375 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6152, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6152, allocations: 7.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6153, allocations: 0 / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.6157, allocations: 394.7 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6157, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.6158, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6158, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.6158, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6158, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6158, allocations: 7.922 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.6161, allocations: 207.4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.6162, allocations: 81.11 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.6162, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.6163, allocations: 7.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.6163, allocations: 7.875 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.6163, allocations: 7.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.6164, allocations: 99.36 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6164, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003211/0.6167, allocations: 36 kB / 1.023 GB, free: 12.34 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: 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.0003198/0.6171, allocations: 166.9 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.6173, allocations: 67.89 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6173, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.6174, allocations: 40.11 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.6177, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.6181, allocations: 223.7 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.6184, allocations: 0.6887 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.6184, allocations: 15.38 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6184, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.00341/0.6218, allocations: 1.603 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches