Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 98.88 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.001456/0.001456, allocations: 183.8 kB / 16.92 MB, free: 6.754 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5951/0.5954, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001789/0.5973, allocations: 1.223 MB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.5986, allocations: 0.7209 MB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.5987, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.5987, allocations: 3.938 kB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.5988, allocations: 3.938 kB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.5994, allocations: 107.8 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.5995, allocations: 71.77 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.5996, allocations: 15.98 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5997, allocations: 31.86 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.5998, allocations: 39.81 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.5998, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.6, allocations: 87.91 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.6001, allocations: 15.92 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.6001, allocations: 53.56 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.6003, allocations: 93.78 kB / 1.026 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6003, allocations: 7.938 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6003, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6003, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005856/0.6009, allocations: 410.3 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.601, allocations: 8.031 kB / 1.027 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.601, allocations: 16.78 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.6012, allocations: 168.3 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.6012, allocations: 12.3 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.6012, allocations: 8.375 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.6015, allocations: 73.78 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6015, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6015, allocations: 3.984 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6015, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.6016, allocations: 47.91 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.6023, allocations: 324.7 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6024, allocations: 46.56 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.798e-05/0.6025, allocations: 36.97 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.6025, allocations: 4 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002028/0.6028, allocations: 87.22 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.6028, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004088/0.6032, allocations: 141.6 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6032, allocations: 59.45 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.6033, allocations: 125.8 kB / 1.028 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.6034, allocations: 25.7 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.6034, allocations: 92.12 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.6034, allocations: 11.81 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.6035, allocations: 21.72 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6036, allocations: 326.8 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.6037, allocations: 23.98 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.6038, allocations: 59.34 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.604, allocations: 95.34 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.604, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002588/0.6043, allocations: 117.5 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6043, allocations: 8 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6043, allocations: 3.938 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.6043, allocations: 0 / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.6044, allocations: 19.98 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.6044, allocations: 0 / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.6045, allocations: 11.88 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.6046, allocations: 4 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000103/0.6047, allocations: 133.9 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.6047, allocations: 3.906 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.6047, allocations: 12.38 kB / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6047, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6047, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6047, allocations: 0 / 1.029 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.6052, allocations: 398.5 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6052, allocations: 3.938 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.6053, allocations: 7.984 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.6053, allocations: 0 / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.6053, allocations: 0 / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6053, allocations: 7.938 kB / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6053, allocations: 0 / 1.029 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.6056, allocations: 223.8 kB / 1.029 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.6057, allocations: 81.02 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.6057, allocations: 0 / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.174e-05/0.6058, allocations: 7.938 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.6058, allocations: 11.92 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.958e-06/0.6058, allocations: 4 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.807e-05/0.6059, allocations: 95.92 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6059, allocations: 0 / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003106/0.6062, allocations: 43.92 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003609/0.6066, allocations: 162 kB / 1.03 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.6068, allocations: 75.91 kB / 1.03 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6068, allocations: 4 kB / 1.03 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.607, allocations: 43.91 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.6072, allocations: 4 kB / 1.03 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.6077, allocations: 238.9 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.6079, allocations: 0.6887 MB / 1.031 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.608, allocations: 11.44 kB / 1.031 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.608, allocations: 0 / 1.031 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.00363/0.6116, allocations: 1.598 MB / 1.032 GB, free: 6.809 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches