Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 106.7 kB / 16.27 MB, free: 6.41 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.002005/0.002005, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.525/2.525, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.66 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.284, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002978/0.2871, allocations: 1.495 MB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.2884, allocations: 0.7376 MB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.2885, allocations: 0 / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.2885, allocations: 3.938 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.27e-05/0.2886, allocations: 11.81 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.2891, allocations: 123.6 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.2892, allocations: 75.83 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.889e-05/0.2893, allocations: 15.98 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.405e-05/0.2894, allocations: 35.86 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.005e-05/0.2895, allocations: 39.81 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.2896, allocations: 8 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.2898, allocations: 99.84 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.2898, allocations: 15.92 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.757e-05/0.2898, allocations: 27.86 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.2901, allocations: 143.9 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2901, allocations: 0 / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2901, allocations: 4 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2901, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 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.0006718/0.2908, allocations: 417 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.2908, allocations: 8.031 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.2909, allocations: 8.844 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.2911, allocations: 176.2 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.2911, allocations: 4.375 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.2911, allocations: 8.359 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.2913, allocations: 77.91 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2913, allocations: 0 / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2913, allocations: 0 / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2914, allocations: 4 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.2915, allocations: 35.97 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.2921, allocations: 316.8 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.2923, allocations: 54.44 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.864e-05/0.2924, allocations: 36.91 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.2924, allocations: 0 / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.2926, allocations: 83.44 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.2926, allocations: 4 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004126/0.2931, allocations: 133.5 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.2931, allocations: 55.34 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2932, allocations: 129.8 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2933, allocations: 25.7 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2933, allocations: 88.14 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.2934, allocations: 23.73 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.2934, allocations: 33.7 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2936, allocations: 318.8 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.253e-05/0.2937, allocations: 23.98 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.2938, allocations: 46.55 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.294, allocations: 82.78 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.294, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002433/0.2942, allocations: 113.5 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2942, allocations: 7.984 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2943, allocations: 4 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2943, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2944, allocations: 8 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2944, allocations: 64 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.2945, allocations: 23.89 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2945, allocations: 4 kB / 1.023 GB, free: 5.227 MB / 0.795 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.0001058/0.2946, allocations: 122.4 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.2947, allocations: 7.938 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.2947, allocations: 16.36 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2947, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2947, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2947, allocations: 0 / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.2952, allocations: 386.3 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2952, allocations: 0 / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.2953, allocations: 7.938 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2953, allocations: 0 / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2953, allocations: 7.984 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2953, allocations: 0 / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2953, allocations: 3.938 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.2956, allocations: 207.4 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.2957, allocations: 81.11 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.2957, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.005e-05/0.2958, allocations: 7.984 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.2959, allocations: 15.88 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2959, allocations: 3.984 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.2959, allocations: 91.27 kB / 1.024 GB, free: 4.184 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.296, allocations: 4 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003032/0.2963, allocations: 36 kB / 1.024 GB, free: 4.145 MB / 0.795 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.000358/0.2966, allocations: 161 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.2969, allocations: 72.19 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2969, allocations: 4.062 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.297, allocations: 36.14 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2973, allocations: 16.94 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.2977, allocations: 218 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.2981, allocations: 0.6885 MB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.2981, allocations: 11.44 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of SimCode: time 2.8e-07/0.2981, allocations: 3.938 kB / 1.025 GB, free: 2.891 MB / 0.795 GB Notification: Performance of Templates: time 0.003782/0.3019, allocations: 1.609 MB / 1.027 GB, free: 1.281 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches