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.00148/0.00148, allocations: 104.1 kB / 16.41 MB, free: 6.508 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.001594/0.001594, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.422/2.422, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7822, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003433/0.7857, allocations: 1.911 MB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.7901, allocations: 3.455 MB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.7902, allocations: 0 / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.7906, allocations: 47.62 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00053/0.7911, allocations: 135.3 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.695e-05/0.7912, allocations: 19.97 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.7915, allocations: 167.2 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.7916, allocations: 33.67 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.7919, allocations: 83.62 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.7921, allocations: 87.61 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.7921, allocations: 8 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.359e-05/0.7922, allocations: 27.92 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.7923, allocations: 31.84 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.7924, allocations: 75.55 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.7926, allocations: 173.1 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7927, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7927, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7927, allocations: 0 / 1.173 GB, free: 13.53 MB / 0.9044 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.0008876/0.7936, allocations: 0.4983 MB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7936, allocations: 8.922 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.7937, allocations: 24.66 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.794, allocations: 246.8 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.7941, allocations: 8.297 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.7941, allocations: 4.375 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.7945, allocations: 141.7 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7945, allocations: 0 / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.7945, allocations: 0 / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.7945, allocations: 8 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.7949, allocations: 139.9 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000715/0.7957, allocations: 448.4 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.7961, allocations: 162.5 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.7963, allocations: 97.92 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.7963, allocations: 0 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7964, allocations: 38.48 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.7964, allocations: 0 / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0007939/0.7972, allocations: 291.1 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.7972, allocations: 51.41 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.7974, allocations: 213 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.7975, allocations: 25.7 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.7975, allocations: 120.1 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.7976, allocations: 47.36 kB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.7977, allocations: 25.7 kB / 1.176 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.7978, allocations: 330.8 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.798, allocations: 75.92 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.7982, allocations: 75.94 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.7986, allocations: 157.5 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7986, allocations: 0 / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000486/0.7991, allocations: 210.8 kB / 1.177 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.7992, allocations: 8 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.7992, allocations: 0 / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7992, allocations: 0 / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.7994, allocations: 31.97 kB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.7995, allocations: 3.984 kB / 1.177 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.7996, allocations: 27.81 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.7997, allocations: 8 kB / 1.177 GB, free: 9.852 MB / 0.9044 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.0001166/0.7998, allocations: 133.7 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.7998, allocations: 15.81 kB / 1.177 GB, free: 9.695 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.7999, allocations: 21.84 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7999, allocations: 4 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.7999, allocations: 0 / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.7999, allocations: 7.922 kB / 1.177 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.8002, allocations: 265.4 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8002, allocations: 0 / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.8004, allocations: 35.95 kB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.8005, allocations: 0 / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.8005, allocations: 4 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8005, allocations: 0 / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8005, allocations: 0 / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.801, allocations: 311.1 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.8012, allocations: 116.8 kB / 1.178 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.8012, allocations: 4 kB / 1.178 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.8014, allocations: 15.97 kB / 1.178 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.8015, allocations: 11.98 kB / 1.178 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.8015, allocations: 11.98 kB / 1.178 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001309/0.8016, allocations: 152.5 kB / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8016, allocations: 0 / 1.178 GB, free: 8.668 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002755/0.8019, allocations: 39.84 kB / 1.178 GB, free: 8.629 MB / 0.9044 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.0001638/0.8021, allocations: 103.2 kB / 1.178 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.8026, allocations: 177 kB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8026, allocations: 0 / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.8028, allocations: 91.86 kB / 1.178 GB, free: 8.258 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.8032, allocations: 33.38 kB / 1.178 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.8041, allocations: 443.8 kB / 1.179 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.8044, allocations: 0.7274 MB / 1.179 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.8045, allocations: 27.42 kB / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8045, allocations: 0 / 1.179 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of Templates: time 0.004343/0.8089, allocations: 2.22 MB / 1.182 GB, free: 4.777 MB / 0.9044 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=480 -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/jenkins1/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