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.45/1.45, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.9 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0007668/0.0007668, allocations: 104.1 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.308e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2195, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8397/1.059, allocations: 355.6 MB / 1.233 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/1.059, allocations: 86.7 kB / 1.233 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02127/1.081, allocations: 9.127 MB / 1.242 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.224e-06/1.081, allocations: 0 / 1.242 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.081, allocations: 0 / 1.242 GB, free: 6.473 MB / 0.8542 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.0006159/1.081, allocations: 449.2 kB / 1.242 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/1.081, allocations: 11.97 kB / 1.242 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/1.082, allocations: 23.67 kB / 1.242 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/1.082, allocations: 248.2 kB / 1.242 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/1.082, allocations: 4 kB / 1.242 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/1.082, allocations: 0 / 1.242 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/1.082, allocations: 67.05 kB / 1.242 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/1.082, allocations: 106.8 kB / 1.242 GB, free: 5.555 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.082, allocations: 3.938 kB / 1.242 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.082, allocations: 0 / 1.242 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/1.082, allocations: 11.98 kB / 1.242 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/1.083, allocations: 413.5 kB / 1.243 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/1.083, allocations: 126.1 kB / 1.243 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/1.083, allocations: 78.25 kB / 1.243 GB, free: 5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/1.083, allocations: 4.234 kB / 1.243 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.083, allocations: 42.5 kB / 1.243 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/1.083, allocations: 0 / 1.243 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0005389/1.084, allocations: 183.6 kB / 1.243 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/1.084, allocations: 55.41 kB / 1.243 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/1.084, allocations: 171.4 kB / 1.243 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/1.084, allocations: 25.7 kB / 1.243 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/1.084, allocations: 130.8 kB / 1.244 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/1.084, allocations: 38.36 kB / 1.244 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/1.084, allocations: 4 kB / 1.244 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.085, allocations: 328.8 kB / 1.244 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/1.085, allocations: 40.67 kB / 1.244 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/1.085, allocations: 49.72 kB / 1.244 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/1.085, allocations: 79.73 kB / 1.244 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.085, allocations: 0 / 1.244 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003984/1.085, allocations: 186.3 kB / 1.244 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.085, allocations: 8 kB / 1.244 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/1.085, allocations: 0 / 1.244 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.085, allocations: 0 / 1.244 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/1.086, allocations: 43.89 kB / 1.244 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.086, allocations: 3.953 kB / 1.244 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/1.086, allocations: 23.89 kB / 1.244 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/1.086, allocations: 8 kB / 1.244 GB, free: 3.711 MB / 0.8542 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 () * 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.0001101/1.086, allocations: 114.1 kB / 1.244 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/1.086, allocations: 15.81 kB / 1.244 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/1.086, allocations: 28.08 kB / 1.245 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.086, allocations: 0 / 1.245 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.086, allocations: 0 / 1.245 GB, free: 3.566 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.086, allocations: 3.953 kB / 1.245 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/1.086, allocations: 232.4 kB / 1.245 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.087, allocations: 0 / 1.245 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/1.087, allocations: 39.97 kB / 1.245 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.087, allocations: 0 / 1.245 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/1.087, allocations: 3.75 kB / 1.245 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/1.087, allocations: 0 / 1.245 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.087, allocations: 4 kB / 1.245 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/1.087, allocations: 296.9 kB / 1.245 GB, free: 3.012 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.087, allocations: 108.8 kB / 1.245 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/1.087, allocations: 0 / 1.245 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/1.088, allocations: 11.98 kB / 1.245 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/1.088, allocations: 15.05 kB / 1.245 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/1.088, allocations: 3.984 kB / 1.245 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001141/1.088, allocations: 141.3 kB / 1.245 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/1.088, allocations: 4 kB / 1.245 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002607/1.088, allocations: 35.94 kB / 1.245 GB, free: 2.707 MB / 0.8542 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 () * 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.0002438/1.088, allocations: 148 kB / 1.246 GB, free: 2.559 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000229/1.089, allocations: 116.2 kB / 1.246 GB, free: 2.477 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.089, allocations: 4 kB / 1.246 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.221e-05/1.089, allocations: 65.16 kB / 1.246 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/1.089, allocations: 23.8 kB / 1.246 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/1.089, allocations: 225 kB / 1.246 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.09, allocations: 0.7349 MB / 1.247 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001712/1.09, allocations: 56.69 kB / 1.247 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/1.09, allocations: 15.44 kB / 1.247 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of SimCode: time 2.71e-07/1.09, allocations: 0 / 1.247 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of Templates: time 0.4021/1.492, allocations: 1.742 MB / 1.248 GB, free: 309.7 MB / 0.8542 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