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.001042/0.001042, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003969, allocations: 8.844 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3113, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002111/0.3134, allocations: 1.322 MB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3152, allocations: 0.7675 MB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.3153, allocations: 0 / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.3153, allocations: 3.938 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.3154, allocations: 15.86 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.3161, allocations: 123.7 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3163, allocations: 127.6 kB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3164, allocations: 15.98 kB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.3166, allocations: 59.77 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.3167, allocations: 63.8 kB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.3168, allocations: 4 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.317, allocations: 95.84 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.3171, allocations: 27.83 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.505e-05/0.3172, allocations: 77.42 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3174, allocations: 132 kB / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3174, allocations: 0 / 1.062 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.676e-06/0.3174, allocations: 4 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.3175, allocations: 4 kB / 1.062 GB, free: 2.129 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.0007957/0.3183, allocations: 466.5 kB / 1.063 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3183, allocations: 11.97 kB / 1.063 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.3184, allocations: 16.78 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3185, allocations: 184.6 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.3186, allocations: 8.375 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.3186, allocations: 12.12 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.3189, allocations: 105.6 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3189, allocations: 3.938 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3189, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3189, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.3191, allocations: 75.95 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000942/0.3201, allocations: 372.7 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3203, allocations: 70.55 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3205, allocations: 60.78 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3205, allocations: 7.984 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.3208, allocations: 99.36 kB / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.835e-06/0.3208, allocations: 0 / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006844/0.3215, allocations: 237.3 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.3216, allocations: 55.55 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3217, allocations: 148.4 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.591e-05/0.3218, allocations: 29.78 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.3218, allocations: 96.47 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.322, allocations: 31.97 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.322, allocations: 25.7 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3222, allocations: 322.8 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3223, allocations: 39.98 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.3225, allocations: 92.12 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.3228, allocations: 120.2 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3228, allocations: 0 / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003824/0.3232, allocations: 169.5 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3232, allocations: 7.938 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3232, allocations: 4 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3232, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3234, allocations: 19.98 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.3234, allocations: 3.938 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3235, allocations: 19.89 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.3235, allocations: 4 kB / 1.065 GB, free: 15 MB / 0.8262 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.0001464/0.3237, allocations: 132.6 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.3237, allocations: 7.906 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.3238, allocations: 16.7 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3238, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3238, allocations: 3.938 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3238, allocations: 4.031 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.3245, allocations: 474.2 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3245, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.3246, allocations: 11.98 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.3246, allocations: 7.938 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3246, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3246, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3246, allocations: 4 kB / 1.066 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.325, allocations: 275.3 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.3251, allocations: 88.95 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.3251, allocations: 4 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3253, allocations: 15.98 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.3253, allocations: 8.172 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3254, allocations: 0 / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.5e-05/0.3254, allocations: 113.2 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.583e-06/0.3255, allocations: 4 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003381/0.3258, allocations: 43.94 kB / 1.066 GB, free: 13.71 MB / 0.8262 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.000441/0.3262, allocations: 166.5 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.3266, allocations: 119.9 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3266, allocations: 0 / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3268, allocations: 67.89 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3271, allocations: 19.92 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.3277, allocations: 283.2 kB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.328, allocations: 0.6926 MB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.648e-05/0.3281, allocations: 15.61 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3281, allocations: 4 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.00416/0.3322, allocations: 2.043 MB / 1.069 GB, free: 10.26 MB / 0.8262 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 -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