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.001516/0.001516, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.001663/0.001663, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.12 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.371/2.371, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 60.12 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6819, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002908/0.6849, allocations: 1.917 MB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.6886, allocations: 3.451 MB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.6887, allocations: 4 kB / 1.173 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.6889, allocations: 47.62 kB / 1.173 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.6894, allocations: 127.3 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.212e-05/0.6894, allocations: 27.95 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.6897, allocations: 171.2 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.6898, allocations: 33.66 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.69, allocations: 75.7 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.6901, allocations: 79.56 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.6901, allocations: 12 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.6902, allocations: 31.97 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.243e-05/0.6903, allocations: 31.84 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.6904, allocations: 83.47 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.6906, allocations: 173.2 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6906, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6906, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.6907, allocations: 0 / 1.173 GB, free: 13.54 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.0008532/0.6915, allocations: 0.4906 MB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.6916, allocations: 8.922 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.299e-05/0.6916, allocations: 28.64 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.692, allocations: 242.8 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.692, allocations: 8.375 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.692, allocations: 4.375 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.6924, allocations: 137.7 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.6924, allocations: 0 / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.6924, allocations: 7.984 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.6924, allocations: 8 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/0.6929, allocations: 135.8 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.6936, allocations: 448.4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.694, allocations: 158.5 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.6943, allocations: 96.8 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.6943, allocations: 11.98 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.6943, allocations: 34.5 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.6943, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.00081/0.6951, allocations: 291.1 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.6952, allocations: 55.41 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.6954, allocations: 205 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.6954, allocations: 29.7 kB / 1.176 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.6955, allocations: 120.1 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.6955, allocations: 39.36 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.6956, allocations: 33.7 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6957, allocations: 334.8 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.696, allocations: 67.94 kB / 1.176 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.6962, allocations: 72.81 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/0.6966, allocations: 165.8 kB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6966, allocations: 0 / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005155/0.6972, allocations: 202.9 kB / 1.177 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6972, allocations: 8 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6972, allocations: 0 / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6972, allocations: 0 / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.6975, allocations: 39.91 kB / 1.177 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.6975, allocations: 4 kB / 1.177 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.6976, allocations: 19.83 kB / 1.177 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.6977, allocations: 3.984 kB / 1.177 GB, free: 9.875 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.0001091/0.6978, allocations: 133.8 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/0.6978, allocations: 19.81 kB / 1.177 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.6979, allocations: 25.83 kB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.6979, allocations: 0 / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6979, allocations: 0 / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.698, allocations: 112.8 kB / 1.177 GB, free: 9.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.6981, allocations: 3.938 kB / 1.177 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.6983, allocations: 15.98 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.6983, allocations: 7.984 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006736/0.699, allocations: 296.8 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005874/0.6996, allocations: 383.4 kB / 1.178 GB, free: 8.844 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002337/0.6998, allocations: 87.92 kB / 1.178 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001232/0.7, allocations: 156.4 kB / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of Backend: time 2.41e-07/0.7, allocations: 0 / 1.178 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006233/0.7006, allocations: 194 kB / 1.178 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008322/0.7014, allocations: 0.81 MB / 1.179 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of Templates: time 0.004869/0.7063, allocations: 2.299 MB / 1.181 GB, free: 5.277 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