Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 104.9 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.001912/0.001912, allocations: 189.8 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.436/1.436, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.498/2.498, allocations: 437.1 MB / 0.711 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.22 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.307, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002832/0.3099, allocations: 1.495 MB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3113, allocations: 0.7376 MB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.3113, allocations: 0 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.536e-05/0.3114, allocations: 7.922 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.253e-05/0.3114, allocations: 7.875 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.312, allocations: 131.5 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3121, allocations: 71.84 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.499e-05/0.3122, allocations: 4 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.3123, allocations: 39.89 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.454e-05/0.3124, allocations: 39.78 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3124, allocations: 8 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.3126, allocations: 95.91 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.3126, allocations: 15.91 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.3127, allocations: 39.8 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.3129, allocations: 143.9 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3129, allocations: 3.938 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3129, allocations: 0 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3129, allocations: 0 / 1.021 GB, free: 7.742 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.0006583/0.3136, allocations: 413 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3137, allocations: 8.031 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.3137, allocations: 8.844 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3139, allocations: 184.2 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3139, allocations: 4.375 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.3139, allocations: 4.375 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.3141, allocations: 73.95 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3141, allocations: 0 / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3141, allocations: 0 / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3142, allocations: 4 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3143, allocations: 39.91 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.3149, allocations: 312.8 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.315, allocations: 46.56 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.3151, allocations: 36.95 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3152, allocations: 11.94 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.3154, allocations: 75.31 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3154, allocations: 0 / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003905/0.3158, allocations: 141.6 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3158, allocations: 51.41 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3159, allocations: 121.8 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.316, allocations: 33.7 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.621e-05/0.316, allocations: 88.14 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3161, allocations: 19.75 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.3161, allocations: 29.7 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3163, allocations: 318.8 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.3164, allocations: 27.98 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.3165, allocations: 50.5 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3166, allocations: 74.84 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3166, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002396/0.3169, allocations: 117.5 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3169, allocations: 4 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3169, allocations: 16.05 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.317, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.317, allocations: 15.92 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3171, allocations: 0 / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.3171, allocations: 7.906 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3172, allocations: 8 kB / 1.023 GB, free: 5.195 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 9.762e-05/0.3173, allocations: 125.7 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.3173, allocations: 4 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.3173, allocations: 20.31 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3173, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3173, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3173, allocations: 0 / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3178, allocations: 382.3 kB / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3178, allocations: 0 / 1.023 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.3179, allocations: 7.984 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3179, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3179, allocations: 8 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3179, allocations: 0 / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3179, allocations: 3.938 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/0.3182, allocations: 215.3 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.3183, allocations: 81.11 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.3183, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.629e-05/0.3184, allocations: 4 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3185, allocations: 19.92 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3185, allocations: 0 / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.3185, allocations: 91.92 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3185, allocations: 0 / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002995/0.3188, allocations: 39.98 kB / 1.024 GB, free: 4.109 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.0003777/0.3192, allocations: 163.8 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.3195, allocations: 67.91 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3195, allocations: 0 / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3196, allocations: 40.3 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.0002387/0.3198, allocations: 10.41 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.3203, allocations: 218.2 kB / 1.024 GB, free: 3.594 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3206, allocations: 0.6846 MB / 1.025 GB, free: 2.883 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.3207, allocations: 19.42 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.3207, allocations: 0 / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of Templates: time 0.003472/0.3241, allocations: 1.62 MB / 1.027 GB, free: 1.246 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches