Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 108 kB / 15.61 MB, free: 152 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.0016/0.0016, allocations: 193.8 kB / 16.53 MB, free: 6.699 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.741/2.741, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 59.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6732/0.6751, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003547/0.6787, allocations: 1.91 MB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.6831, allocations: 3.438 MB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.6832, allocations: 4 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.6835, allocations: 59.61 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.684, allocations: 123.2 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.655e-05/0.6841, allocations: 27.95 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.6843, allocations: 171.2 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.6845, allocations: 21.69 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.6846, allocations: 83.69 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.6848, allocations: 83.55 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.6849, allocations: 8 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.221e-05/0.685, allocations: 31.98 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.685, allocations: 35.84 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.898e-05/0.6851, allocations: 79.45 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.6854, allocations: 159.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6854, allocations: 3.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6854, allocations: 3.938 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.6854, allocations: 0 / 1.023 GB, free: 12.24 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009255/0.6863, allocations: 0.5038 MB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.6864, allocations: 8.031 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.6864, allocations: 16.75 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.6868, allocations: 238.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.6868, allocations: 4.312 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.6869, allocations: 8.375 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.6872, allocations: 137.7 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6873, allocations: 0 / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.6873, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.6873, allocations: 15.97 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.6878, allocations: 139.8 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.6885, allocations: 440.4 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.689, allocations: 166.5 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.6892, allocations: 104.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.6893, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.6893, allocations: 30.56 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.6893, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008818/0.6902, allocations: 289.7 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6902, allocations: 51.41 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.6905, allocations: 205 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.6905, allocations: 33.7 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.602e-05/0.6906, allocations: 128 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.6906, allocations: 39.45 kB / 1.026 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.6907, allocations: 29.7 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.6909, allocations: 334.8 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.6911, allocations: 71.94 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.6914, allocations: 67.94 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.6918, allocations: 164.6 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6918, allocations: 0 / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005583/0.6924, allocations: 209.2 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6924, allocations: 4 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6924, allocations: 4 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6925, allocations: 0 / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.6927, allocations: 39.95 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.6927, allocations: 0 / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.6929, allocations: 19.92 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.6929, allocations: 4 kB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001218/0.6931, allocations: 133.7 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.6931, allocations: 19.72 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.6932, allocations: 29.77 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6932, allocations: 4 kB / 1.027 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6932, allocations: 4 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6932, allocations: 4 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.6935, allocations: 261.5 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6935, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.6938, allocations: 31.97 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.6938, allocations: 4 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.6938, allocations: 0 / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.6938, allocations: 3.984 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6938, allocations: 0 / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.6944, allocations: 319 kB / 1.028 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6945, allocations: 108.8 kB / 1.028 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.6946, allocations: 4 kB / 1.028 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.6948, allocations: 15.97 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.6949, allocations: 11.98 kB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.6949, allocations: 8 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001448/0.695, allocations: 152.5 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.695, allocations: 3.938 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002799/0.6953, allocations: 39.92 kB / 1.028 GB, free: 7.344 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001626/0.6955, allocations: 99.25 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005733/0.6961, allocations: 191.8 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6961, allocations: 0 / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.6963, allocations: 83.88 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.6967, allocations: 41.64 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008117/0.6976, allocations: 414 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.6981, allocations: 0.7391 MB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.6983, allocations: 52.58 kB / 1.029 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.6983, allocations: 19.42 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6983, allocations: 0 / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of Templates: time 0.005001/0.7033, allocations: 1.7 MB / 1.031 GB, free: 3.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches