Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Zhang2012WindowsEast,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.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_11_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.00159/0.00159, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.001678/0.001678, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.413/1.413, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.676/2.676, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 73.41 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002733/0.3055, allocations: 1.56 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.3068, allocations: 0.7285 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.3069, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.3069, allocations: 3.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.307, allocations: 3.938 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.3075, allocations: 107.8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.3076, allocations: 83.77 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.3077, allocations: 8 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.851e-05/0.3078, allocations: 39.89 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.3079, allocations: 35.84 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3079, allocations: 4 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3081, allocations: 99.84 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.3081, allocations: 19.91 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.3082, allocations: 31.86 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3083, allocations: 108 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3083, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3083, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3084, allocations: 0 / 1.067 GB, free: 12.29 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.0006385/0.309, allocations: 420.9 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.309, allocations: 12.62 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3091, allocations: 8.844 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3092, allocations: 176.2 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.3093, allocations: 8.375 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3093, allocations: 8.375 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.3095, allocations: 69.97 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3095, allocations: 3.938 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3095, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3095, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3097, allocations: 35.97 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.3103, allocations: 316.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3104, allocations: 50.56 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.3105, allocations: 40.89 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3105, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.3107, allocations: 75.38 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3108, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003959/0.3112, allocations: 137.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3112, allocations: 55.41 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3113, allocations: 121.8 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3114, allocations: 33.64 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.3114, allocations: 96.05 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3115, allocations: 19.81 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.3115, allocations: 29.7 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3117, allocations: 326.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.3118, allocations: 27.92 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.3119, allocations: 46.56 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3121, allocations: 78.48 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3121, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002453/0.3123, allocations: 105.6 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3123, allocations: 6.188 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.3123, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.3124, allocations: 64 / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.3125, allocations: 23.98 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3125, allocations: 0 / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.3125, allocations: 7.906 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.3126, allocations: 4 kB / 1.069 GB, free: 9.742 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.0001061/0.3127, allocations: 124 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.3127, allocations: 15.78 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.3127, allocations: 8.375 kB / 1.069 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3127, allocations: 4 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3128, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3128, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.3133, allocations: 386.4 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3133, allocations: 0 / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.3133, allocations: 7.984 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3133, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3133, allocations: 0 / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3133, allocations: 7.938 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3134, allocations: 7.938 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.3137, allocations: 211.9 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.3137, allocations: 81.02 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3137, allocations: 8 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.3138, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3139, allocations: 11.92 kB / 1.07 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3139, allocations: 4 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.314, allocations: 99.2 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.314, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002924/0.3143, allocations: 39.98 kB / 1.07 GB, free: 8.645 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.000347/0.3146, allocations: 157.9 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.3149, allocations: 79.89 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3149, allocations: 0 / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.315, allocations: 39.91 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.3153, allocations: 11.94 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.3157, allocations: 214.3 kB / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.316, allocations: 0.6846 MB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.3161, allocations: 15.42 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3161, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of Templates: time 0.003631/0.3197, allocations: 1.612 MB / 1.073 GB, free: 5.785 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches