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.001333/0.001333, allocations: 109.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.001328/0.001328, allocations: 189.7 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.419/1.419, 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.562/2.562, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 68.5 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3042, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003032/0.3073, allocations: 1.499 MB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3087, allocations: 0.7337 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.3088, allocations: 0 / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.3088, allocations: 3.938 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.117e-05/0.3089, allocations: 15.81 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.3095, allocations: 123.6 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.3096, allocations: 75.78 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3097, allocations: 15.95 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.3098, allocations: 31.92 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.403e-05/0.3099, allocations: 43.81 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.3099, allocations: 8 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002128/0.3101, allocations: 103.8 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.3102, allocations: 11.92 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.3102, allocations: 31.86 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3105, allocations: 143.9 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3105, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3105, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3105, allocations: 0 / 1.021 GB, free: 7.746 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.0006979/0.3112, allocations: 409 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3113, allocations: 16.02 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3113, allocations: 8.844 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.3115, allocations: 180.2 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3115, allocations: 4.375 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3115, allocations: 4.312 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3117, allocations: 73.97 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3117, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3118, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3118, allocations: 4 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3119, allocations: 39.97 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.3126, allocations: 316.7 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3127, allocations: 46.5 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.912e-05/0.3128, allocations: 44.91 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3128, allocations: 0 / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.313, allocations: 79.44 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.313, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.000422/0.3135, allocations: 145.5 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.3135, allocations: 51.41 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.3137, allocations: 129.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3137, allocations: 29.7 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.3138, allocations: 88.14 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.3138, allocations: 23.73 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.3139, allocations: 25.72 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.314, allocations: 318.8 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.3141, allocations: 27.98 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3142, allocations: 50.55 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3144, allocations: 78.47 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3144, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002511/0.3147, allocations: 113.5 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3147, allocations: 6.812 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3147, allocations: 4 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.3147, allocations: 3.984 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/0.3148, allocations: 8 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3149, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.3149, allocations: 11.89 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.315, allocations: 8 kB / 1.023 GB, free: 5.199 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.0001218/0.3151, allocations: 125.8 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.729e-05/0.3151, allocations: 7.938 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.3152, allocations: 12.38 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3152, allocations: 3.984 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3152, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3152, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.3157, allocations: 386.2 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3157, allocations: 4 kB / 1.023 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.3158, allocations: 8 kB / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3158, allocations: 0 / 1.024 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3158, allocations: 4 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3158, allocations: 3.984 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3158, allocations: 3.938 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.3161, allocations: 203.4 kB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.3162, allocations: 81.11 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3162, allocations: 4 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.3163, allocations: 11.92 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.3164, allocations: 11.92 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3164, allocations: 7.984 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.3164, allocations: 91.27 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.507e-06/0.3165, allocations: 0 / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002979/0.3168, allocations: 39.94 kB / 1.024 GB, free: 4.105 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.0004052/0.3172, allocations: 159 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.3174, allocations: 71.89 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3174, allocations: 0 / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3176, allocations: 35.97 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3178, allocations: 14.75 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.3183, allocations: 214.1 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3187, allocations: 0.6885 MB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3187, allocations: 15.44 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3187, allocations: 4 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of Templates: time 0.003704/0.3224, allocations: 1.604 MB / 1.027 GB, free: 1.254 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