Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 104.3 kB / 15.99 MB, free: 6.301 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.001218/0.001218, allocations: 198.5 kB / 16.91 MB, free: 6.148 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.37 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.492/2.492, allocations: 437.1 MB / 0.7107 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 64.27 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2799, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002797/0.2828, allocations: 1.55 MB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.284, allocations: 0.7362 MB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.2841, allocations: 4 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.2841, allocations: 0 / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.2842, allocations: 11.81 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.2846, allocations: 111.7 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2848, allocations: 71.83 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.919e-05/0.2848, allocations: 8 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.2849, allocations: 43.89 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.285, allocations: 35.84 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.285, allocations: 8 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.2852, allocations: 91.84 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.2852, allocations: 19.91 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.2853, allocations: 35.86 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.2855, allocations: 108 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2855, allocations: 0 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2855, allocations: 0 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.2855, allocations: 0 / 1.02 GB, free: 8.145 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.0006275/0.2861, allocations: 413 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.2862, allocations: 8.031 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.2862, allocations: 12.83 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2864, allocations: 180.2 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.2864, allocations: 8.375 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2864, allocations: 8.312 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.2866, allocations: 73.77 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2866, allocations: 4 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.2867, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2867, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.2868, allocations: 35.97 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.2874, allocations: 316.8 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2876, allocations: 54.48 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.2877, allocations: 28.97 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.2877, allocations: 4 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.2879, allocations: 79.38 kB / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.2879, allocations: 0 / 1.021 GB, free: 6.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003953/0.2883, allocations: 137.5 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.2884, allocations: 55.41 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.2885, allocations: 121.8 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2885, allocations: 29.7 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.2886, allocations: 88.14 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.2886, allocations: 23.81 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.2887, allocations: 29.7 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2888, allocations: 322.8 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.2889, allocations: 23.98 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.289, allocations: 55.41 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2892, allocations: 83.28 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2892, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.2895, allocations: 117.4 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2895, allocations: 12.06 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2895, allocations: 0 / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2895, allocations: 0 / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.2896, allocations: 23.92 kB / 1.022 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2896, allocations: 0 / 1.022 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.153e-05/0.2897, allocations: 7.906 kB / 1.022 GB, free: 5.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.2897, allocations: 4 kB / 1.022 GB, free: 5.578 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001004/0.2898, allocations: 122.3 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.2899, allocations: 11.98 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.2899, allocations: 8.375 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2899, allocations: 4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2899, allocations: 3.938 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2899, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.2904, allocations: 382.3 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2904, allocations: 4.062 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.2905, allocations: 7.984 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2905, allocations: 4 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2905, allocations: 0 / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2905, allocations: 7.938 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2905, allocations: 0 / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.2908, allocations: 207.3 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.2909, allocations: 85.09 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.2909, allocations: 4 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.291, allocations: 11.94 kB / 1.023 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.2911, allocations: 3.984 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2911, allocations: 4 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.2912, allocations: 95.86 kB / 1.023 GB, free: 4.527 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2912, allocations: 0 / 1.023 GB, free: 4.527 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002905/0.2915, allocations: 36 kB / 1.023 GB, free: 4.492 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,occ.y,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.0003449/0.2918, allocations: 167.3 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.2921, allocations: 76.38 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2921, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2922, allocations: 39.91 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.2924, allocations: 16.73 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.2928, allocations: 226.2 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.2932, allocations: 0.6807 MB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.2932, allocations: 15.42 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2932, allocations: 0 / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of Templates: time 0.003555/0.2968, allocations: 1.616 MB / 1.026 GB, free: 1.617 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches