Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, 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.001937/0.001937, 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.561/2.561, allocations: 437.1 MB / 0.7111 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 64.09 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3121, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003253/0.3154, allocations: 1.508 MB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.317, allocations: 0.7298 MB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.3171, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.294e-05/0.3171, allocations: 3.938 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.3172, allocations: 7.875 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.3178, allocations: 131.5 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.3179, allocations: 71.83 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.318, allocations: 11.98 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.3181, allocations: 39.86 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.3182, allocations: 39.83 kB / 1.02 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3182, allocations: 4 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.3184, allocations: 99.89 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.3185, allocations: 19.86 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.3185, allocations: 27.86 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.3188, allocations: 147.9 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3188, allocations: 0 / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3188, allocations: 0 / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3188, allocations: 0 / 1.021 GB, free: 7.766 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.0006859/0.3195, allocations: 419.1 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3196, allocations: 8.031 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3196, allocations: 8.844 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.3198, allocations: 180.2 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3198, allocations: 4.375 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.3198, allocations: 8.375 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.32, allocations: 73.84 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.32, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3201, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.3201, allocations: 4 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3202, allocations: 35.97 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.3208, allocations: 312.8 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.321, allocations: 62.47 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.3211, allocations: 32.97 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.3211, allocations: 7.938 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.3213, allocations: 75.38 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3213, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003982/0.3217, allocations: 141.5 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3218, allocations: 55.34 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3219, allocations: 121.8 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3219, allocations: 25.7 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.322, allocations: 92.14 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.322, allocations: 19.81 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.3221, allocations: 29.7 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3223, allocations: 326.8 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.33e-05/0.3223, allocations: 23.98 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3225, allocations: 50.55 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.3226, allocations: 70.5 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3226, allocations: 4 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.3229, allocations: 109.5 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3229, allocations: 8 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3229, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3229, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.323, allocations: 11.98 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.323, allocations: 4 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.829e-05/0.3231, allocations: 15.89 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3231, allocations: 8.453 kB / 1.023 GB, free: 5.215 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.0001054/0.3233, allocations: 125.7 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.3233, allocations: 0 / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/0.3233, allocations: 16.31 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3233, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3233, allocations: 0 / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3233, allocations: 3.984 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.3238, allocations: 390.3 kB / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3238, allocations: 0 / 1.023 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.3239, allocations: 7.984 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3239, allocations: 3.938 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.3239, allocations: 4 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3239, allocations: 3.938 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3239, allocations: 3.938 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.3242, allocations: 207.4 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.3243, allocations: 81.11 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3243, allocations: 4 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3244, allocations: 7.984 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.3245, allocations: 7.938 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3245, allocations: 0 / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.3245, allocations: 91.27 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 4 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002866/0.3248, allocations: 43.98 kB / 1.024 GB, free: 4.125 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.0003757/0.3252, allocations: 165.4 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3255, allocations: 71.94 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3255, allocations: 0 / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.948e-05/0.3256, allocations: 44.05 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3258, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.3263, allocations: 217.9 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3266, allocations: 0.6885 MB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.3267, allocations: 15.42 kB / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3267, allocations: 0 / 1.025 GB, free: 2.879 MB / 0.795 GB Notification: Performance of Templates: time 0.003797/0.3305, allocations: 1.619 MB / 1.027 GB, free: 1.262 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches