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.001882/0.001882, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.002474/0.002474, allocations: 213.1 kB / 22.25 MB, free: 4.848 MB / 14.72 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 1.633/1.633, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 3.648/3.648, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 71.28 kB / 1.186 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.414, allocations: 181.9 MB / 1.364 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003247/0.4172, allocations: 1.841 MB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004732/0.4219, allocations: 3.399 MB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4221, allocations: 7.938 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008148/0.4229, allocations: 163.3 kB / 1.369 GB, free: 8.203 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.4231, allocations: 87.41 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.4232, allocations: 47.92 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.4238, allocations: 271.1 kB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4239, allocations: 17.73 kB / 1.37 GB, free: 7.789 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.424, allocations: 79.69 kB / 1.37 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.4242, allocations: 71.69 kB / 1.37 GB, free: 7.641 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.4242, allocations: 8 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.4243, allocations: 39.91 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.4244, allocations: 51.83 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.4245, allocations: 71.55 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.4248, allocations: 199 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4248, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4248, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4248, allocations: 0 / 1.37 GB, free: 7.277 MB / 1.061 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.0009187/0.4257, allocations: 472.8 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4257, allocations: 12.03 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008596/0.4266, allocations: 116.6 kB / 1.371 GB, free: 6.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.4271, allocations: 201.6 kB / 1.371 GB, free: 6.441 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.4271, allocations: 8.359 kB / 1.371 GB, free: 6.434 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.4272, allocations: 8.375 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.4276, allocations: 157.5 kB / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4276, allocations: 0 / 1.371 GB, free: 6.266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.4276, allocations: 3.938 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.838e-05/0.4276, allocations: 11.98 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.4281, allocations: 151.9 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.4288, allocations: 388.2 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.4293, allocations: 174.5 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002692/0.4295, allocations: 99.41 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4296, allocations: 4 kB / 1.372 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4296, allocations: 30.56 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.4296, allocations: 0 / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0009043/0.4305, allocations: 317.5 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.4305, allocations: 51.41 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.4308, allocations: 245.9 kB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.4309, allocations: 25.7 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.431, allocations: 132.1 kB / 1.373 GB, free: 4.578 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.347e-05/0.4311, allocations: 55.59 kB / 1.373 GB, free: 4.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.4312, allocations: 25.7 kB / 1.373 GB, free: 4.492 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4314, allocations: 342.8 kB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.4317, allocations: 71.94 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.4319, allocations: 79.92 kB / 1.373 GB, free: 4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.4324, allocations: 178.8 kB / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4324, allocations: 0 / 1.373 GB, free: 3.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005538/0.4329, allocations: 233.4 kB / 1.373 GB, free: 3.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.433, allocations: 4 kB / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.433, allocations: 4 kB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.433, allocations: 0 / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.4333, allocations: 35.95 kB / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4333, allocations: 0 / 1.374 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.4334, allocations: 15.92 kB / 1.374 GB, free: 3.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.4335, allocations: 8 kB / 1.374 GB, free: 3.523 MB / 1.061 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.0001416/0.4336, allocations: 149.7 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.4337, allocations: 27.75 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.4337, allocations: 33.77 kB / 1.374 GB, free: 3.305 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4337, allocations: 4 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4337, allocations: 0 / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4337, allocations: 0 / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.434, allocations: 201.2 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.434, allocations: 0 / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.4343, allocations: 35.95 kB / 1.374 GB, free: 3.039 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4343, allocations: 4 kB / 1.374 GB, free: 3.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.4343, allocations: 8 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.4343, allocations: 3.984 kB / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4343, allocations: 0 / 1.374 GB, free: 3.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006171/0.4349, allocations: 333.9 kB / 1.374 GB, free: 2.684 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.435, allocations: 43.72 kB / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.435, allocations: 0 / 1.374 GB, free: 2.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.4352, allocations: 19.98 kB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.4353, allocations: 11.97 kB / 1.374 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.4353, allocations: 4 kB / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001664/0.4355, allocations: 181.2 kB / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4355, allocations: 0 / 1.375 GB, free: 2.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002641/0.4358, allocations: 36 kB / 1.375 GB, free: 2.395 MB / 1.061 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.0001379/0.4359, allocations: 95.25 kB / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.4364, allocations: 179.8 kB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4364, allocations: 4 kB / 1.375 GB, free: 2.113 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.4367, allocations: 95.86 kB / 1.375 GB, free: 2.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.4371, allocations: 48.34 kB / 1.375 GB, free: 1.973 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008882/0.438, allocations: 474.1 kB / 1.375 GB, free: 1.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.4381, allocations: 128 kB / 1.376 GB, free: 1.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002122/0.4384, allocations: 61.38 kB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.4384, allocations: 19.42 kB / 1.376 GB, free: 1.258 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4384, allocations: 0 / 1.376 GB, free: 1.258 MB / 1.061 GB Notification: Performance of Templates: time 0.006525/0.445, allocations: 2.735 MB / 1.378 GB, free: 14.59 MB / 1.076 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: 9.874686611816287]