Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001459/0.001459, allocations: 112.6 kB / 16.37 MB, free: 6 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.001637/0.001637, allocations: 196 kB / 17.31 MB, free: 5.613 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.479/2.479, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 64.78 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2963, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002832/0.2991, allocations: 1.61 MB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.3006, allocations: 0.7789 MB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.3006, allocations: 4 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.3007, allocations: 7.875 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/0.3008, allocations: 23.78 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3014, allocations: 143.5 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3016, allocations: 139.6 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3017, allocations: 16 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3018, allocations: 63.81 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3019, allocations: 71.73 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.302, allocations: 12 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.3022, allocations: 99.84 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.3022, allocations: 31.89 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.682e-05/0.3023, allocations: 55.77 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.3026, allocations: 195.5 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3026, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3026, allocations: 7.938 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.3026, allocations: 0 / 1.03 GB, free: 14.8 MB / 0.8106 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.000756/0.3034, allocations: 478.4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3034, allocations: 12.03 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.3035, allocations: 8.844 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.3036, allocations: 192.6 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3036, allocations: 8.375 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.3037, allocations: 12.06 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3039, allocations: 93.62 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3039, allocations: 0 / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3039, allocations: 7.984 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.304, allocations: 4 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001802/0.3041, allocations: 59.95 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007803/0.3049, allocations: 376.6 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.3051, allocations: 66.55 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3052, allocations: 52.83 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3053, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.3055, allocations: 107.3 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3055, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005626/0.3061, allocations: 213.3 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.3061, allocations: 59.41 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3063, allocations: 144.4 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.3063, allocations: 37.7 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.3064, allocations: 92.38 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.3064, allocations: 31.78 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.3065, allocations: 33.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3066, allocations: 322.8 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3068, allocations: 39.97 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.3069, allocations: 80.27 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3071, allocations: 108.2 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3071, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003298/0.3075, allocations: 165.4 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3075, allocations: 4 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3075, allocations: 0 / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3075, allocations: 4 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3077, allocations: 20.3 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3077, allocations: 3.938 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.3078, allocations: 19.98 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.3078, allocations: 8 kB / 1.033 GB, free: 11.73 MB / 0.8106 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.0001004/0.3079, allocations: 125.7 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.308, allocations: 11.89 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.308, allocations: 8.719 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.308, allocations: 4 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.308, allocations: 3.938 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.308, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.3086, allocations: 462.3 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3087, allocations: 4 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.3087, allocations: 8.094 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3087, allocations: 7.875 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3088, allocations: 8 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3088, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3088, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004425/0.3092, allocations: 275.2 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.12e-05/0.3093, allocations: 84.95 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.3093, allocations: 8.062 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3095, allocations: 7.984 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.3096, allocations: 11.98 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.3096, allocations: 0 / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.913e-05/0.3097, allocations: 111.2 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3097, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003903/0.3101, allocations: 44 kB / 1.034 GB, free: 10.46 MB / 0.8106 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.0004443/0.3105, allocations: 162.1 kB / 1.034 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003747/0.3109, allocations: 119.8 kB / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3109, allocations: 0 / 1.034 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3111, allocations: 55.97 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3114, allocations: 17.05 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.312, allocations: 216.6 kB / 1.034 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3123, allocations: 0.7004 MB / 1.035 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.341e-05/0.3124, allocations: 4 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.3125, allocations: 15.42 kB / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3125, allocations: 0 / 1.035 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of Templates: time 0.005818/0.3183, allocations: 1.971 MB / 1.037 GB, free: 7.176 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches