Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005138/0.005138, allocations: 103.2 kB / 15.73 MB, free: 5.996 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.001186/0.001186, allocations: 194.7 kB / 16.67 MB, free: 5.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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.2 MB / 0.6648 GB, free: 132 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 61.97 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.301, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00279/0.3038, allocations: 1.593 MB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3053, allocations: 0.7804 MB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.3053, allocations: 4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.373e-05/0.3054, allocations: 15.86 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.31e-05/0.3055, allocations: 15.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.3062, allocations: 147.6 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3064, allocations: 131.6 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3065, allocations: 31.95 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.3067, allocations: 55.83 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3068, allocations: 71.78 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.3068, allocations: 15.94 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.307, allocations: 95.91 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.3071, allocations: 31.91 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.3072, allocations: 55.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.3075, allocations: 195.4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3075, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.408e-06/0.3075, allocations: 3.984 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3075, allocations: 4 kB / 1.091 GB, free: 14.24 MB / 0.8575 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.0008342/0.3084, allocations: 482.4 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3084, allocations: 15.97 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3085, allocations: 8.844 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.3086, allocations: 184.6 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3087, allocations: 8.359 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.3087, allocations: 12.12 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.309, allocations: 101.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.309, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.309, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3091, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.3093, allocations: 63.95 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.3102, allocations: 364.7 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3104, allocations: 70.48 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.3105, allocations: 52.83 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3105, allocations: 4.156 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.3108, allocations: 111.3 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3108, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005893/0.3114, allocations: 213.4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.3114, allocations: 59.39 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.3116, allocations: 144.4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3116, allocations: 25.7 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.3117, allocations: 104.4 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.3117, allocations: 23.77 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.3118, allocations: 41.64 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3119, allocations: 318.8 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.312, allocations: 43.91 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3122, allocations: 76.27 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.3124, allocations: 112.2 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3124, allocations: 0 / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003265/0.3127, allocations: 157.8 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3128, allocations: 11.98 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3128, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3128, allocations: 0 / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.313, allocations: 27.92 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.313, allocations: 3.938 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3131, allocations: 11.91 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3131, allocations: 12.08 kB / 1.094 GB, free: 11.16 MB / 0.8575 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.0001141/0.3132, allocations: 125.7 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3133, allocations: 11.91 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.3133, allocations: 8.719 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3133, allocations: 3.984 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3133, allocations: 7.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3133, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006548/0.314, allocations: 458.4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.314, allocations: 0 / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.3141, allocations: 8 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.3141, allocations: 3.938 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3141, allocations: 3.984 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3141, allocations: 0 / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3141, allocations: 4 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.3145, allocations: 267.2 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.718e-05/0.3146, allocations: 92.94 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.3146, allocations: 0 / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3148, allocations: 8 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.3148, allocations: 7.984 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3149, allocations: 7.984 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.794e-05/0.3149, allocations: 105.9 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3149, allocations: 4 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003319/0.3153, allocations: 55.86 kB / 1.095 GB, free: 9.906 MB / 0.8575 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.0003508/0.3156, allocations: 172.4 kB / 1.095 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.316, allocations: 111.9 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.316, allocations: 0 / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.3161, allocations: 59.91 kB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3164, allocations: 15.92 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.3169, allocations: 216.7 kB / 1.095 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.3172, allocations: 0.7003 MB / 1.096 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.807e-05/0.3173, allocations: 4 kB / 1.096 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.3173, allocations: 15.44 kB / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.3173, allocations: 0 / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of Templates: time 0.005103/0.3224, allocations: 2.016 MB / 1.098 GB, free: 6.566 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches