Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001267, allocations: 183.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 100.5 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 8.5 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2808, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.304, allocations: 355.5 MB / 1.247 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.305, allocations: 91.44 kB / 1.247 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02145/1.326, allocations: 9.242 MB / 1.256 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.194e-06/1.326, allocations: 0 / 1.256 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.335e-05/1.326, allocations: 4 kB / 1.256 GB, free: 3.66 MB / 0.7605 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.0007583/1.327, allocations: 497.7 kB / 1.257 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.327, allocations: 12.02 kB / 1.257 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/1.327, allocations: 23.77 kB / 1.257 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/1.327, allocations: 236.2 kB / 1.257 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/1.327, allocations: 0 / 1.257 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/1.327, allocations: 7.984 kB / 1.257 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/1.328, allocations: 149.7 kB / 1.257 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.328, allocations: 0 / 1.257 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/1.328, allocations: 7.922 kB / 1.257 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/1.328, allocations: 11.62 kB / 1.257 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/1.328, allocations: 148.6 kB / 1.257 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007149/1.329, allocations: 452.5 kB / 1.258 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/1.329, allocations: 174 kB / 1.258 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/1.329, allocations: 7.797 kB / 1.258 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.33, allocations: 34.55 kB / 1.258 GB, free: 1.949 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/1.33, allocations: 0 / 1.258 GB, free: 1.949 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0007748/1.33, allocations: 305.5 kB / 1.258 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/1.33, allocations: 55.34 kB / 1.258 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/1.331, allocations: 185.6 kB / 1.259 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.331, allocations: 25.7 kB / 1.259 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/1.331, allocations: 126.2 kB / 1.259 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/1.331, allocations: 43.08 kB / 1.259 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/1.331, allocations: 3.438 kB / 1.259 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.331, allocations: 330.1 kB / 1.259 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/1.331, allocations: 78.31 kB / 1.259 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/1.331, allocations: 86.69 kB / 1.259 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/1.332, allocations: 84.81 kB / 1.259 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.332, allocations: 0 / 1.259 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00048/1.332, allocations: 225.1 kB / 1.259 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/1.332, allocations: 4 kB / 1.259 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.332, allocations: 0 / 1.259 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.332, allocations: 7.938 kB / 1.259 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.332, allocations: 43.86 kB / 1.26 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.332, allocations: 3.984 kB / 1.26 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/1.333, allocations: 19.73 kB / 1.26 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/1.333, allocations: 4 kB / 1.26 GB, free: 0.5039 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/1.333, allocations: 129.2 kB / 1.26 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/1.333, allocations: 19.72 kB / 1.26 GB, free: 364 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/1.333, allocations: 28.59 kB / 1.26 GB, free: 348 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.333, allocations: 3.984 kB / 1.26 GB, free: 344 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.333, allocations: 3.953 kB / 1.26 GB, free: 340 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.333, allocations: 0 / 1.26 GB, free: 340 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/1.333, allocations: 257.7 kB / 1.26 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.333, allocations: 0 / 1.26 GB, free: 64 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/1.333, allocations: 47.89 kB / 1.26 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.333, allocations: 0 / 1.26 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.333, allocations: 0 / 1.26 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.333, allocations: 0.5469 kB / 1.26 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.333, allocations: 8 kB / 1.26 GB, free: 8 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/1.334, allocations: 326 kB / 1.26 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/1.334, allocations: 112.3 kB / 1.26 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/1.334, allocations: 0 / 1.26 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/1.334, allocations: 23.42 kB / 1.26 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/1.334, allocations: 11.92 kB / 1.26 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/1.334, allocations: 7.984 kB / 1.26 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001263/1.334, allocations: 150 kB / 1.261 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/1.334, allocations: 0 / 1.261 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002743/1.335, allocations: 39.58 kB / 1.261 GB, free: 15.39 MB / 0.7761 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002847/1.335, allocations: 162.7 kB / 1.261 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005322/1.336, allocations: 184.9 kB / 1.261 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.336, allocations: 0 / 1.261 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/1.336, allocations: 99.06 kB / 1.261 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/1.336, allocations: 27.52 kB / 1.261 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/1.337, allocations: 480.7 kB / 1.262 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.337, allocations: 0.7277 MB / 1.262 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001724/1.337, allocations: 48.59 kB / 1.262 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.609e-05/1.338, allocations: 19.38 kB / 1.262 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/1.338, allocations: 4 kB / 1.262 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of Templates: time 0.005697/1.343, allocations: 2.187 MB / 1.265 GB, free: 11.54 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches