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.001191/0.001191, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001492/0.001493, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.418 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.773/2.773, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004336, allocations: 19.92 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8452/0.8456, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001918/0.8476, allocations: 1.211 MB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.8489, allocations: 0.6706 MB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.849, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.849, allocations: 3.938 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.8491, allocations: 7.922 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.8497, allocations: 99.75 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.8498, allocations: 67.78 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.85, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.8501, allocations: 39.83 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.8501, allocations: 31.84 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.8502, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.8504, allocations: 87.84 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.8504, allocations: 11.98 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.8505, allocations: 41.64 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.8507, allocations: 101.8 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8507, allocations: 3.938 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8507, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8507, allocations: 0 / 1.025 GB, free: 13.6 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.0007252/0.8515, allocations: 404.8 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.8515, allocations: 8.562 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.8516, allocations: 11.91 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.8517, allocations: 174.9 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.8517, allocations: 4 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.8518, allocations: 7.953 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.852, allocations: 77.62 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.852, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.852, allocations: 3.984 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.852, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.8522, allocations: 43.92 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.8529, allocations: 320.7 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.853, allocations: 54.56 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.8531, allocations: 32.97 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.8531, allocations: 0 / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.8533, allocations: 83.31 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.8533, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003995/0.8537, allocations: 149.6 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.8538, allocations: 55.39 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.972e-05/0.8539, allocations: 125.8 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.8539, allocations: 33.64 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.854, allocations: 92.31 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.854, allocations: 15.81 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.854, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8541, allocations: 322.8 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.8542, allocations: 35.92 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.8543, allocations: 50.56 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.55e-05/0.8544, allocations: 31.98 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8544, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002298/0.8547, allocations: 125.5 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.8548, allocations: 4 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8548, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.8548, allocations: 7.938 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.8549, allocations: 11.98 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.8549, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.855, allocations: 15.84 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.855, allocations: 4 kB / 1.027 GB, free: 11.11 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.8551, allocations: 137.7 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.8551, allocations: 4 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.8552, allocations: 4.375 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8552, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8552, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8552, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000581/0.8558, allocations: 394.3 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.8558, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.8558, allocations: 7.984 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.8559, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.8559, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8559, allocations: 4 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8559, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.8562, allocations: 231.3 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.8562, allocations: 77.11 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.8563, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.619e-05/0.8563, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.8564, allocations: 7.984 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.8564, allocations: 8 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.8565, allocations: 99.2 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8565, allocations: 0 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003136/0.8568, allocations: 39.98 kB / 1.028 GB, free: 10 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/0.8572, allocations: 168.8 kB / 1.028 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.8574, allocations: 79.91 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8574, allocations: 0 / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.8576, allocations: 35.98 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.8578, allocations: 13.14 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.8582, allocations: 201.2 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.8585, allocations: 0.6926 MB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.8586, allocations: 8.125 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.691e-05/0.8586, allocations: 15.44 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.8586, allocations: 0 / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of Templates: time 0.004509/0.8631, allocations: 1.34 MB / 1.03 GB, free: 7.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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