Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001022/0.001021, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 184.6 kB / 16.92 MB, free: 6.922 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.654/2.654, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 7.938 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3257, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001802/0.3276, allocations: 1.209 MB / 1.061 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3291, allocations: 0.7284 MB / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.3291, allocations: 0 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.3292, allocations: 0 / 1.061 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.3292, allocations: 19.86 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.3298, allocations: 103.7 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.33, allocations: 67.84 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.3301, allocations: 11.94 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.584e-05/0.3302, allocations: 31.89 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.3303, allocations: 31.84 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3303, allocations: 4 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3305, allocations: 95.84 kB / 1.062 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.3306, allocations: 19.91 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.3306, allocations: 53.56 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3308, allocations: 100 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3309, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3309, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3309, allocations: 0 / 1.062 GB, free: 2.488 MB / 0.8106 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.0007015/0.3316, allocations: 409.1 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3316, allocations: 11.97 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.3317, allocations: 8.844 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3319, allocations: 184.1 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/0.3319, allocations: 8.312 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.332, allocations: 4.375 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.3322, allocations: 73.97 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3322, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3322, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3322, allocations: 8 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3324, allocations: 39.97 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.3331, allocations: 324.7 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.3332, allocations: 58.48 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3333, allocations: 32.97 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3334, allocations: 3.984 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.3336, allocations: 79.39 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3336, allocations: 0 / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004144/0.334, allocations: 145.6 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.3341, allocations: 63.41 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.785e-05/0.3342, allocations: 121.8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.3342, allocations: 29.69 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.197e-05/0.3343, allocations: 84.14 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3343, allocations: 23.81 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.3343, allocations: 21.7 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3344, allocations: 322.8 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.3345, allocations: 27.98 kB / 1.064 GB, free: 228 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.3346, allocations: 54.55 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3348, allocations: 82.48 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3348, allocations: 3.938 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.3351, allocations: 117.5 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3351, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3351, allocations: 4.328 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3351, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.3352, allocations: 12.06 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3352, allocations: 3.984 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.3353, allocations: 12 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3353, allocations: 0 / 1.064 GB, free: 15.91 MB / 0.8262 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 8.975e-05/0.3354, allocations: 125.7 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.3354, allocations: 3.906 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3355, allocations: 16.36 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3355, allocations: 4 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3355, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3355, allocations: 0 / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.336, allocations: 398.3 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.336, allocations: 0 / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.336, allocations: 4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.336, allocations: 4 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.336, allocations: 3.984 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.336, allocations: 8 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3361, allocations: 3.938 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.3363, allocations: 207.4 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.3364, allocations: 85.02 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3364, allocations: 7.984 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.3365, allocations: 4 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.3365, allocations: 11.92 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.3366, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.3366, allocations: 95.2 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3366, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002907/0.3369, allocations: 36 kB / 1.065 GB, free: 14.8 MB / 0.8262 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.0004461/0.3374, allocations: 170.7 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.3376, allocations: 79.88 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3377, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.3378, allocations: 44.11 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.338, allocations: 7.984 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3385, allocations: 222.9 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3388, allocations: 0.6888 MB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.3388, allocations: 23.36 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3388, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of Templates: time 0.003878/0.3427, allocations: 1.599 MB / 1.068 GB, free: 11.93 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches