Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 109.4 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.001603/0.001603, 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.421/1.421, 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.698/2.698, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.94 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3009, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002751/0.3037, allocations: 1.648 MB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.305, allocations: 0.7714 MB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.3051, allocations: 0 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.3052, allocations: 7.922 kB / 1.067 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.3052, allocations: 19.86 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.3057, allocations: 127.7 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.3059, allocations: 139.6 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.306, allocations: 12 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3061, allocations: 59.77 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.3062, allocations: 79.72 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3063, allocations: 12 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.3064, allocations: 103.8 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.3065, allocations: 31.95 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.3066, allocations: 51.72 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3068, allocations: 140 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3068, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3068, allocations: 0 / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3068, allocations: 3.938 kB / 1.067 GB, free: 11.88 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007562/0.3075, allocations: 490.4 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3076, allocations: 8.625 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.3076, allocations: 8.844 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.3078, allocations: 192.6 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.3078, allocations: 4.375 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3079, allocations: 12.12 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.3081, allocations: 89.62 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3081, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3081, allocations: 4 kB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3082, allocations: 7.984 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.3084, allocations: 59.91 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008522/0.3092, allocations: 372.7 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3094, allocations: 66.55 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.3096, allocations: 52.83 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3096, allocations: 0 / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3098, allocations: 107.4 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3098, allocations: 3.938 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0005777/0.3104, allocations: 217.3 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3105, allocations: 55.41 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3106, allocations: 146.9 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3106, allocations: 29.7 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.3107, allocations: 100.8 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.3108, allocations: 31.78 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.3108, allocations: 29.7 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.311, allocations: 322.8 kB / 1.07 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.3111, allocations: 35.92 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.3113, allocations: 92.19 kB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3115, allocations: 108.2 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3115, allocations: 0 / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003443/0.3119, allocations: 157.5 kB / 1.07 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3119, allocations: 4 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3119, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3119, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.3121, allocations: 23.92 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3121, allocations: 7.938 kB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3122, allocations: 11.89 kB / 1.07 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3122, allocations: 4 kB / 1.07 GB, free: 8.812 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001336/0.3124, allocations: 131.9 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3124, allocations: 7.906 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.3125, allocations: 16.7 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3125, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.3125, allocations: 3.938 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3125, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006692/0.3131, allocations: 466.2 kB / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3132, allocations: 0 / 1.071 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.3132, allocations: 7.984 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3132, allocations: 3.938 kB / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3133, allocations: 4 kB / 1.071 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3133, allocations: 3.984 kB / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3133, allocations: 0 / 1.071 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004401/0.3137, allocations: 275.3 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.3138, allocations: 84.95 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.3138, allocations: 7.938 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.314, allocations: 12.17 kB / 1.071 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.314, allocations: 7.984 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.314, allocations: 8 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.58e-05/0.3141, allocations: 111.2 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000311/0.3145, allocations: 48 kB / 1.071 GB, free: 7.543 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0003728/0.3148, allocations: 162.5 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.3152, allocations: 111.9 kB / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3152, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3154, allocations: 59.91 kB / 1.071 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3156, allocations: 19.02 kB / 1.071 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.3162, allocations: 274.5 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3165, allocations: 0.7004 MB / 1.072 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.3166, allocations: 11.44 kB / 1.072 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of SimCode: time 2.8e-07/0.3166, allocations: 3.938 kB / 1.072 GB, free: 6.164 MB / 0.8419 GB Notification: Performance of Templates: time 0.004239/0.3208, allocations: 2.044 MB / 1.074 GB, free: 4.121 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches