Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 110.4 kB / 15.99 MB, free: 6.367 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.001296/0.001296, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.424/1.424, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.505/2.505, allocations: 437 MB / 0.7107 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.17 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2849, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00288/0.2878, allocations: 1.558 MB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2891, allocations: 0.7323 MB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.2891, allocations: 0 / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.2892, allocations: 3.938 kB / 1.02 GB, free: 8.672 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.2893, allocations: 3.938 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.2898, allocations: 107.8 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2899, allocations: 75.83 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.163e-05/0.29, allocations: 8 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.2901, allocations: 47.83 kB / 1.02 GB, free: 8.434 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.2902, allocations: 35.84 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.2902, allocations: 4 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2904, allocations: 91.91 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.2904, allocations: 23.91 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.2905, allocations: 31.86 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.2907, allocations: 104 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2907, allocations: 0 / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.356e-06/0.2907, allocations: 4 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2907, 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.0006697/0.2914, allocations: 415.2 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2914, allocations: 15.97 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.2915, allocations: 8.844 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2916, allocations: 180.2 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2917, allocations: 4.375 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.2917, allocations: 4.375 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2919, allocations: 73.97 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2919, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2919, allocations: 0 / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2919, allocations: 3.984 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2921, allocations: 39.91 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.2927, allocations: 320.8 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.2928, allocations: 50.5 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.2929, allocations: 32.97 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.293, allocations: 3.984 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.2932, allocations: 79.33 kB / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.2932, allocations: 0 / 1.021 GB, free: 6.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004072/0.2936, allocations: 137.5 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.2936, allocations: 55.41 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2937, allocations: 121.8 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2938, allocations: 33.69 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.2938, allocations: 92.14 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.2939, allocations: 19.81 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.2939, allocations: 29.7 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2941, allocations: 322.8 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.2942, allocations: 23.98 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2943, allocations: 54.44 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.2944, allocations: 78.84 kB / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2945, allocations: 0 / 1.022 GB, free: 5.75 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002434/0.2947, allocations: 113.5 kB / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2947, allocations: 4 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2947, allocations: 0 / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2948, allocations: 8.062 kB / 1.022 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2949, allocations: 15.92 kB / 1.022 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2949, allocations: 0 / 1.022 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.295, allocations: 7.906 kB / 1.022 GB, free: 5.598 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.295, allocations: 8 kB / 1.022 GB, free: 5.59 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.0001025/0.2951, allocations: 122.9 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.2951, allocations: 4 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.904e-05/0.2951, allocations: 8.375 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2952, allocations: 4 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2952, allocations: 4 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2952, allocations: 0 / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.2957, allocations: 386.2 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2957, allocations: 0 / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.2957, allocations: 7.984 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2957, allocations: 0 / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2958, allocations: 0 / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2958, allocations: 4 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2958, allocations: 3.938 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2961, allocations: 215.3 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2961, allocations: 77.11 kB / 1.023 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2962, allocations: 4 kB / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.2962, allocations: 0 / 1.023 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2963, allocations: 19.86 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2963, allocations: 12 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.2964, allocations: 95.2 kB / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2964, allocations: 0 / 1.023 GB, free: 4.539 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003006/0.2967, allocations: 39.98 kB / 1.023 GB, free: 4.5 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.0003663/0.2971, allocations: 149.5 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.2973, allocations: 83.89 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2973, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.2974, allocations: 39.91 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.2977, allocations: 12.48 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.2981, allocations: 218.2 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.2985, allocations: 0.6846 MB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.2985, allocations: 19.42 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.2985, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of Templates: time 0.003646/0.3022, allocations: 1.613 MB / 1.026 GB, free: 1.637 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches