Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001299/0.001299, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001267/0.001267, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 68.39 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3132, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002979/0.3162, allocations: 1.556 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3176, allocations: 0.7285 MB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.3176, allocations: 4 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.726e-05/0.3177, allocations: 3.938 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.125e-05/0.3178, allocations: 3.938 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.3184, allocations: 111.8 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3185, allocations: 71.84 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.3186, allocations: 8 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3187, allocations: 39.89 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.3188, allocations: 39.84 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3188, allocations: 4 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.319, allocations: 99.84 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.3191, allocations: 23.84 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.3191, allocations: 31.86 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.3193, allocations: 104 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3194, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3194, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3194, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 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.0006697/0.32, allocations: 420.9 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3201, allocations: 12.03 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.3201, allocations: 4.844 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3203, allocations: 180.2 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3203, allocations: 4.375 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.3203, allocations: 8.375 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3206, allocations: 69.97 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3206, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3206, allocations: 4 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3206, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.3207, allocations: 35.97 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/0.3214, allocations: 316.7 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3215, allocations: 58.55 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.3216, allocations: 32.97 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3217, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/0.3219, allocations: 71.38 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3219, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000407/0.3223, allocations: 145.5 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3224, allocations: 55.41 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3225, allocations: 117.8 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3225, allocations: 29.7 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.3226, allocations: 92.05 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3226, allocations: 19.81 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.3227, allocations: 29.7 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3228, allocations: 326.8 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.3229, allocations: 31.92 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.323, allocations: 50.55 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.3232, allocations: 74.8 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3232, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002456/0.3235, allocations: 109.6 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3235, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3235, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3235, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3236, allocations: 19.98 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3237, allocations: 3.938 kB / 1.069 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.3237, allocations: 11.89 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.3238, allocations: 7.938 kB / 1.069 GB, free: 9.723 MB / 0.8419 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.0001016/0.3239, allocations: 121.8 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3239, allocations: 7.906 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3239, allocations: 12.38 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3239, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3239, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.324, allocations: 7.984 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.3244, allocations: 386.4 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3245, allocations: 0 / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.3245, allocations: 7.984 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3245, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3245, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3245, allocations: 0 / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3245, allocations: 3.938 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.3248, allocations: 211.4 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.3249, allocations: 88.95 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3249, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.325, allocations: 3.984 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.3251, allocations: 11.92 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.3251, allocations: 7.938 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3252, allocations: 91.92 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3252, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003047/0.3255, allocations: 39.98 kB / 1.07 GB, free: 8.637 MB / 0.8419 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.0003737/0.3259, allocations: 164 kB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3261, allocations: 79.88 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3261, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3262, allocations: 32.5 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.3265, allocations: 12.16 kB / 1.07 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.3269, allocations: 218.1 kB / 1.071 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3273, allocations: 0.6924 MB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.3273, allocations: 11.44 kB / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/0.3273, allocations: 0 / 1.071 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of Templates: time 0.004053/0.3314, allocations: 1.618 MB / 1.073 GB, free: 5.766 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches