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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0009875/0.0009875, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008667/0.008667, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.000364, allocations: 12.19 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7013, allocations: 153.8 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001765/0.7032, allocations: 1.215 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.7044, allocations: 0.717 MB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.447e-05/0.7045, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.7045, allocations: 3.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.7046, allocations: 7.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.705, allocations: 107.8 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.7052, allocations: 75.7 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.7053, allocations: 15.98 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.7053, allocations: 27.91 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.788e-05/0.7054, allocations: 43.77 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.7054, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.7056, allocations: 87.86 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.7057, allocations: 23.89 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.7057, allocations: 49.56 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.7059, allocations: 129.6 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.706, allocations: 4 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.706, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.706, allocations: 4 kB / 1.025 GB, free: 13.45 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.0005721/0.7066, allocations: 409 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.7066, allocations: 8.031 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.7066, allocations: 8.844 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7068, allocations: 176.2 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.7068, allocations: 4.375 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.7068, allocations: 8.375 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.707, allocations: 81.89 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.707, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.707, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.7071, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.7072, allocations: 43.97 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.7078, allocations: 320.7 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.7079, allocations: 58.48 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.696e-05/0.708, allocations: 40.97 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.7081, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.7083, allocations: 79.28 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.7083, allocations: 3.938 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003956/0.7087, allocations: 149.7 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.7087, allocations: 59.34 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.7088, allocations: 121.7 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.7089, allocations: 29.7 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.7089, allocations: 88.14 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.7089, allocations: 11.81 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.709, allocations: 25.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7091, allocations: 322.8 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.7092, allocations: 31.98 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.7093, allocations: 46.56 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.7095, allocations: 82.48 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7095, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.7097, allocations: 129.5 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7098, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7098, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7098, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.7099, allocations: 19.92 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7099, allocations: 0 / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.71, allocations: 7.938 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.71, allocations: 4 kB / 1.028 GB, free: 10.88 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 8.791e-05/0.7101, allocations: 130.3 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.7101, allocations: 11.89 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.7101, allocations: 8.375 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.7101, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7101, allocations: 0 / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7102, allocations: 3.938 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.7106, allocations: 386.9 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.7106, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.7107, allocations: 7.938 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.7107, allocations: 3.984 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.7107, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7107, allocations: 0 / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7107, allocations: 3.938 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.711, allocations: 223.5 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.711, allocations: 93 kB / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.711, allocations: 0 / 1.029 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.7111, allocations: 4 kB / 1.029 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.7112, allocations: 11.92 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7112, allocations: 0 / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.099e-05/0.7112, allocations: 103.3 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7112, allocations: 0 / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000303/0.7116, allocations: 32 kB / 1.029 GB, free: 9.77 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.0003178/0.7119, allocations: 167.8 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.7121, allocations: 79.95 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7121, allocations: 0 / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.631e-05/0.7122, allocations: 39.92 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.7125, allocations: 8.547 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.7128, allocations: 210.4 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.7131, allocations: 0.6887 MB / 1.03 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.7131, allocations: 4 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.7131, allocations: 7.438 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7132, allocations: 8 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of Templates: time 0.004001/0.7172, allocations: 1.364 MB / 1.031 GB, free: 7.152 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