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.001384/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001449/0.001449, allocations: 194.5 kB / 16.14 MB, free: 6.629 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.808/2.808, allocations: 437 MB / 0.71 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 71.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7179, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003417/0.7213, allocations: 1.562 MB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.7229, allocations: 0.7441 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.7229, allocations: 4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.723, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.7231, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.7236, allocations: 99.77 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.7238, allocations: 75.77 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.7239, allocations: 12 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.724, allocations: 35.84 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.7241, allocations: 39.83 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.7241, allocations: 4 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.7243, allocations: 87.91 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.7244, allocations: 19.91 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.7244, allocations: 27.86 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.7248, allocations: 133.6 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7248, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7248, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7248, allocations: 11.94 kB / 1.019 GB, free: 15.91 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.0008997/0.7257, allocations: 417 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.7258, allocations: 12.03 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.7259, allocations: 12.83 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.7261, allocations: 164.3 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.7261, allocations: 4.375 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.7262, allocations: 8.375 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.7264, allocations: 69.97 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.7265, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.7265, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.7265, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.7266, allocations: 43.89 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/0.7274, allocations: 320.7 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.7276, allocations: 50.55 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.278e-05/0.7277, allocations: 32.97 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.7277, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.728, allocations: 83.3 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.728, allocations: 7.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.00043/0.7285, allocations: 137.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.7285, allocations: 59.41 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.7287, allocations: 117.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.7287, allocations: 29.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.7288, allocations: 84.14 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.7288, allocations: 19.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.445e-05/0.7289, allocations: 25.72 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7291, allocations: 330.8 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.7291, allocations: 23.92 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.67e-05/0.7293, allocations: 50.55 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.7294, allocations: 70.56 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7294, allocations: 0 / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002492/0.7297, allocations: 117.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.7297, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.7297, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7298, allocations: 3.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.7299, allocations: 15.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7299, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.73, allocations: 23.89 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.73, allocations: 4 kB / 1.022 GB, free: 13.36 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.0001273/0.7301, allocations: 120.9 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.7301, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.7302, allocations: 8.375 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.7302, allocations: 0 / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.7302, allocations: 11.86 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7302, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.7307, allocations: 382.3 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7307, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.7308, allocations: 4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7308, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.7308, allocations: 7.984 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7308, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7308, allocations: 3.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.7311, allocations: 219.3 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.7312, allocations: 77.11 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.7312, allocations: 4 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.7313, allocations: 7.984 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.7314, allocations: 11.94 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.7314, allocations: 7.984 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.083e-05/0.7315, allocations: 87.94 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7315, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003241/0.7318, allocations: 43.98 kB / 1.023 GB, free: 12.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: 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.0004323/0.7323, allocations: 163.6 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.7325, allocations: 75.89 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7325, allocations: 4.125 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.7326, allocations: 35.92 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.7329, allocations: 9.719 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.7334, allocations: 194 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.7338, allocations: 0.6926 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.879e-05/0.7338, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.7339, allocations: 11.44 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.7339, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.004626/0.7385, allocations: 1.373 MB / 1.025 GB, free: 9.672 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=400 -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