Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001753/0.001753, 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.569/2.569, allocations: 437.1 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002096, allocations: 68.36 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3026, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002861/0.3055, allocations: 1.495 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3069, allocations: 0.7298 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.3069, allocations: 0 / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.307, allocations: 11.88 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.3071, allocations: 7.938 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.3076, allocations: 131.5 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3077, allocations: 71.83 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3078, allocations: 12 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.3079, allocations: 31.91 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.308, allocations: 43.83 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.308, allocations: 8 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.3082, allocations: 95.84 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.3083, allocations: 23.91 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.3083, allocations: 27.86 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3086, allocations: 139.9 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3086, allocations: 0 / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3086, allocations: 4 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3086, allocations: 0 / 1.021 GB, free: 7.82 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.0006506/0.3093, allocations: 417 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.3093, allocations: 12.03 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.3094, allocations: 8.844 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.3095, allocations: 176.2 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.3095, allocations: 4.375 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.3096, allocations: 8.375 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3098, allocations: 77.89 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3098, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3098, allocations: 0 / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3098, allocations: 7.984 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3099, allocations: 31.98 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.3106, allocations: 320.7 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.3107, allocations: 46.56 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3108, allocations: 36.97 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.3108, allocations: 3.938 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.3111, allocations: 79.38 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3111, allocations: 3.938 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0004092/0.3115, allocations: 141.6 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3115, allocations: 55.41 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3117, allocations: 121.8 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3117, allocations: 25.7 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.3117, allocations: 92.14 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3118, allocations: 15.73 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.3118, allocations: 29.7 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.312, allocations: 322.8 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.3121, allocations: 27.98 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.872e-05/0.3122, allocations: 50.55 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3123, allocations: 74.48 kB / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3124, allocations: 0 / 1.023 GB, free: 5.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002391/0.3126, allocations: 113.5 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3126, allocations: 7.984 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3126, allocations: 0 / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3127, allocations: 4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.737e-05/0.3128, allocations: 11.94 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3128, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.3129, allocations: 15.89 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3129, allocations: 4 kB / 1.023 GB, free: 5.273 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.0001029/0.313, allocations: 122.3 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.313, allocations: 4 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.313, allocations: 16.3 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3131, allocations: 3.984 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3131, allocations: 4 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.3131, allocations: 0 / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.3136, allocations: 394.6 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3136, allocations: 0 / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.3136, allocations: 4 kB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3136, allocations: 0 / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3137, allocations: 3.984 kB / 1.024 GB, free: 4.664 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3137, allocations: 3.938 kB / 1.024 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3137, allocations: 3.938 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.314, allocations: 219.3 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.314, allocations: 77.11 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3141, allocations: 11.98 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3142, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3142, allocations: 7.938 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3142, allocations: 7.984 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.3143, allocations: 91.92 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3143, allocations: 0 / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002975/0.3146, allocations: 36 kB / 1.024 GB, free: 4.18 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.0004065/0.315, allocations: 160.5 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3153, allocations: 75.89 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3153, allocations: 0 / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3154, allocations: 32.11 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3157, allocations: 13.88 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.3161, allocations: 221.9 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3164, allocations: 0.6924 MB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.3165, allocations: 11.44 kB / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3165, allocations: 0 / 1.025 GB, free: 2.93 MB / 0.795 GB Notification: Performance of Templates: time 0.003636/0.3201, allocations: 1.602 MB / 1.027 GB, free: 1.324 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches