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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00084/0.00084, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.88/0.88, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.77e-05, allocations: 13.17 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00248/0.002517, allocations: 1.841 MB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003183/0.0057, allocations: 3.394 MB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.868e-05/0.005799, allocations: 7.938 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.006507, allocations: 173.1 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.00668, allocations: 71.42 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.006793, allocations: 55.91 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.007183, allocations: 271 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.93e-05/0.007273, allocations: 25.73 kB / 1.007 GB, free: 7.133 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.007379, allocations: 99.72 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.007484, allocations: 63.8 kB / 1.007 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.007502, allocations: 8 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.007569, allocations: 27.92 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.007628, allocations: 59.81 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.00768, allocations: 55.8 kB / 1.007 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.007891, allocations: 187.3 kB / 1.007 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.007893, allocations: 4 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007894, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.007899, allocations: 0 / 1.007 GB, free: 6.637 MB / 0.9636 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.0006137/0.008512, allocations: 472.8 kB / 1.008 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.00855, allocations: 8.031 kB / 1.008 GB, free: 6.137 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004586/0.009008, allocations: 124.7 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.009331, allocations: 204.7 kB / 1.008 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.009344, allocations: 8.375 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.009359, allocations: 4.375 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.009608, allocations: 154 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.009616, allocations: 192 / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.009633, allocations: 12.11 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.009656, allocations: 15.97 kB / 1.008 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.009912, allocations: 149 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.01042, allocations: 384.2 kB / 1.009 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.01068, allocations: 162.4 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.01083, allocations: 100.8 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.01085, allocations: 8 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.01087, allocations: 38.55 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.01087, allocations: 0 / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13): time 0.0005155/0.01139, allocations: 305.5 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.01142, allocations: 59.34 kB / 1.009 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.01159, allocations: 245.9 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01161, allocations: 33.64 kB / 1.009 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.01168, allocations: 140.1 kB / 1.01 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.01172, allocations: 47.56 kB / 1.01 GB, free: 3.871 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.01177, allocations: 33.7 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01187, allocations: 334.8 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.012, allocations: 75.92 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.01212, allocations: 87.44 kB / 1.01 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.01238, allocations: 168.7 kB / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01238, allocations: 0 / 1.01 GB, free: 3.172 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003197/0.0127, allocations: 237.3 kB / 1.011 GB, free: 2.934 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01272, allocations: 4 kB / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01272, allocations: 0 / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01273, allocations: 0 / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.01288, allocations: 35.97 kB / 1.011 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01289, allocations: 0 / 1.011 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.01297, allocations: 23.94 kB / 1.011 GB, free: 2.871 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.01298, allocations: 7.984 kB / 1.011 GB, free: 2.863 MB / 0.9636 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 9.495e-05/0.01307, allocations: 137.8 kB / 1.011 GB, free: 2.719 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.0131, allocations: 27.8 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.01314, allocations: 29.77 kB / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01314, allocations: 0 / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01314, allocations: 0 / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01315, allocations: 0 / 1.011 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.01332, allocations: 205.2 kB / 1.011 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01332, allocations: 4 kB / 1.011 GB, free: 2.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.01342, allocations: 39.91 kB / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.01342, allocations: 0 / 1.011 GB, free: 2.391 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.01343, allocations: 3.984 kB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01344, allocations: 0 / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.01344, allocations: 7.938 kB / 1.011 GB, free: 2.379 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.01379, allocations: 334.6 kB / 1.011 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.01384, allocations: 43.72 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.01386, allocations: 4 kB / 1.011 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.517e-05/0.01396, allocations: 19.97 kB / 1.011 GB, free: 1.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.014, allocations: 3.984 kB / 1.011 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.01401, allocations: 11.98 kB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.99e-05/0.01411, allocations: 177.2 kB / 1.012 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01411, allocations: 0 / 1.012 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001746/0.01428, allocations: 44 kB / 1.012 GB, free: 1.746 MB / 0.9636 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 8.315e-05/0.01437, allocations: 95.19 kB / 1.012 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.01468, allocations: 171.9 kB / 1.012 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01468, allocations: 0 / 1.012 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.01482, allocations: 103.8 kB / 1.012 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.0151, allocations: 41.27 kB / 1.012 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.01568, allocations: 480.7 kB / 1.012 GB, free: 0.8281 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.478e-05/0.01577, allocations: 132.1 kB / 1.013 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.01585, allocations: 24.48 kB / 1.013 GB, free: 0.6523 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.01585, allocations: 4 kB / 1.013 GB, free: 0.6484 MB / 0.9636 GB Notification: Performance of Templates: time 0.003164/0.01901, allocations: 2.877 MB / 1.015 GB, free: 13.8 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.892251032404602]