Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001584/0.001584, allocations: 103.1 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.002071, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.532/2.532, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 63.69 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3307, allocations: 153 MB / 1.027 GB, free: 2 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003231/0.334, allocations: 1.926 MB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004031/0.3381, allocations: 3.443 MB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3382, allocations: 0 / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3385, allocations: 47.62 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.3391, allocations: 135.3 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.918e-05/0.3392, allocations: 15.97 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.3394, allocations: 175.2 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.3396, allocations: 33.67 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.3397, allocations: 87.58 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3399, allocations: 75.69 kB / 1.033 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.34, allocations: 8 kB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.34, allocations: 31.91 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.705e-05/0.3401, allocations: 35.83 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.3402, allocations: 75.55 kB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.3405, allocations: 171.2 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3405, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3405, allocations: 0 / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3405, allocations: 0 / 1.033 GB, free: 11.72 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008636/0.3414, allocations: 0.4957 MB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3414, allocations: 8.031 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.3415, allocations: 28.64 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.3418, allocations: 250.8 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.3418, allocations: 8.25 kB / 1.034 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.3419, allocations: 8.359 kB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3422, allocations: 133.7 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3422, allocations: 0 / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3422, allocations: 7.984 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.3423, allocations: 12 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.3427, allocations: 135.9 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006722/0.3433, allocations: 440.5 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003676/0.3437, allocations: 162.5 kB / 1.034 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3439, allocations: 100.8 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.344, allocations: 4 kB / 1.035 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.183e-05/0.3441, allocations: 30.56 kB / 1.035 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3441, allocations: 0 / 1.035 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0007845/0.3449, allocations: 289.7 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3449, allocations: 51.41 kB / 1.035 GB, free: 9.406 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3451, allocations: 209 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3451, allocations: 25.7 kB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3452, allocations: 124 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.3453, allocations: 51.3 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.3453, allocations: 25.7 kB / 1.035 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3454, allocations: 334.8 kB / 1.036 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3457, allocations: 71.94 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3459, allocations: 67.94 kB / 1.036 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.3463, allocations: 164.4 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3463, allocations: 0 / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00047/0.3467, allocations: 209.3 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3468, allocations: 7.984 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3468, allocations: 8 kB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3468, allocations: 0 / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.347, allocations: 31.97 kB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3471, allocations: 0 / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3472, allocations: 19.83 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3472, allocations: 11.98 kB / 1.036 GB, free: 8.035 MB / 0.8106 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.0001265/0.3474, allocations: 133.7 kB / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.3474, allocations: 15.81 kB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.3475, allocations: 25.83 kB / 1.036 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3475, allocations: 4 kB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3475, allocations: 0 / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3475, allocations: 0 / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3478, allocations: 261.4 kB / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3478, allocations: 0 / 1.037 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.348, allocations: 31.97 kB / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.348, allocations: 4 kB / 1.037 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.348, allocations: 11.98 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.348, allocations: 0 / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3481, allocations: 0 / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.3486, allocations: 311 kB / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3487, allocations: 108.9 kB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3488, allocations: 8 kB / 1.037 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.3489, allocations: 15.97 kB / 1.037 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.349, allocations: 11.98 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.349, allocations: 4 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001355/0.3492, allocations: 156.5 kB / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3492, allocations: 0 / 1.037 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002711/0.3494, allocations: 39.94 kB / 1.037 GB, free: 6.828 MB / 0.8106 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.0001821/0.3496, allocations: 111.2 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004864/0.3501, allocations: 171.8 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3501, allocations: 0 / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.3504, allocations: 98.98 kB / 1.038 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3508, allocations: 27.25 kB / 1.038 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.3516, allocations: 414 kB / 1.038 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3519, allocations: 0.7313 MB / 1.039 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.352, allocations: 44.59 kB / 1.039 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.582e-05/0.3521, allocations: 19.42 kB / 1.039 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of SimCode: time 1.563e-06/0.3521, allocations: 4 kB / 1.039 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of Templates: time 0.004393/0.3565, allocations: 1.696 MB / 1.041 GB, free: 3.488 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches