Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001649, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001829/0.001829, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.4/1.4, 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.691/2.691, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 68.11 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3064, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002703/0.3091, allocations: 1.568 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3105, allocations: 0.7518 MB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.3106, allocations: 0 / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.3106, allocations: 7.922 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.3107, allocations: 7.938 kB / 1.066 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006043/0.3113, allocations: 123.7 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3114, allocations: 95.77 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3116, allocations: 15.98 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.3117, allocations: 51.83 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.3118, allocations: 47.81 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.3118, allocations: 12 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.312, allocations: 99.84 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.014e-05/0.3121, allocations: 23.97 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.3121, allocations: 47.77 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.3124, allocations: 116 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3124, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3124, allocations: 4 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3124, allocations: 0 / 1.067 GB, free: 12.14 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008226/0.3132, allocations: 454.6 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3133, allocations: 8.625 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.3133, allocations: 8.844 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.3135, allocations: 180.2 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.3135, allocations: 12.38 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3136, allocations: 4.375 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.3138, allocations: 85.94 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3138, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.3139, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3139, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.314, allocations: 43.91 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.3148, allocations: 348.6 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.315, allocations: 58.55 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.3152, allocations: 48.77 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3152, allocations: 8.031 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.3154, allocations: 91.5 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 3.687e-06/0.3154, allocations: 3.984 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005258/0.316, allocations: 181.5 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.316, allocations: 63.41 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3161, allocations: 121.8 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3162, allocations: 29.7 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.3162, allocations: 96.03 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3163, allocations: 19.75 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.3163, allocations: 33.7 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3165, allocations: 326.8 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.3166, allocations: 27.98 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3167, allocations: 70.14 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3169, allocations: 92.2 kB / 1.069 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3169, allocations: 4 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002641/0.3172, allocations: 125.4 kB / 1.069 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.3172, allocations: 4 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3172, allocations: 4 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3172, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3173, allocations: 20.05 kB / 1.069 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3173, allocations: 4 kB / 1.069 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.3174, allocations: 12.03 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3174, allocations: 11.92 kB / 1.07 GB, free: 9.324 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001049/0.3176, allocations: 131.9 kB / 1.07 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3176, allocations: 7.906 kB / 1.07 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.3176, allocations: 4.375 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3176, allocations: 0 / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3176, allocations: 4 kB / 1.07 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3176, allocations: 3.984 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.3182, allocations: 434.3 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3183, allocations: 4 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.3183, allocations: 0 / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3183, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3183, allocations: 3.984 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3183, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3183, allocations: 3.938 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3187, allocations: 243.5 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.652e-05/0.3188, allocations: 81.02 kB / 1.07 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3188, allocations: 4 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3189, allocations: 7.984 kB / 1.07 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.319, allocations: 7.938 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.319, allocations: 11.92 kB / 1.07 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.3191, allocations: 103.2 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3191, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003004/0.3194, allocations: 43.94 kB / 1.071 GB, free: 8.145 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003523/0.3198, allocations: 163.9 kB / 1.071 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.3201, allocations: 95.88 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3201, allocations: 0 / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.3202, allocations: 47.91 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3205, allocations: 8.625 kB / 1.071 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.321, allocations: 254 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3213, allocations: 0.6846 MB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3213, allocations: 15.42 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3213, allocations: 0 / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.003817/0.3251, allocations: 1.803 MB / 1.074 GB, free: 5.035 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches