Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001707/0.001707, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001936/0.001936, allocations: 167.1 kB / 22.46 MB, free: 5.363 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.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.044/3.044, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.898e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00356/0.003599, allocations: 1.84 MB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004941/0.008541, allocations: 3.405 MB / 0.9865 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.008709, allocations: 4 kB / 0.9865 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000973/0.009682, allocations: 167.1 kB / 0.9867 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.009929, allocations: 75.42 kB / 0.9868 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.0101, allocations: 55.84 kB / 0.9868 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.01065, allocations: 267.1 kB / 0.9871 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.01078, allocations: 33.72 kB / 0.9871 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.01096, allocations: 107.6 kB / 0.9872 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.01111, allocations: 59.88 kB / 0.9873 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.01114, allocations: 11.94 kB / 0.9873 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.01125, allocations: 27.97 kB / 0.9873 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.01133, allocations: 55.83 kB / 0.9874 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.01142, allocations: 51.84 kB / 0.9874 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.01173, allocations: 195.2 kB / 0.9876 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01174, allocations: 0 / 0.9876 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.094e-06/0.01174, allocations: 0 / 0.9876 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.01175, allocations: 0 / 0.9876 GB, free: 5.629 MB / 0.9356 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.0009674/0.01271, allocations: 476.8 kB / 0.9881 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.01275, allocations: 8.031 kB / 0.9881 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.01317, allocations: 60.69 kB / 0.9881 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004615/0.01363, allocations: 196.8 kB / 0.9883 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.01365, allocations: 8.375 kB / 0.9883 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.01367, allocations: 4.359 kB / 0.9883 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.01407, allocations: 144.7 kB / 0.9885 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01408, allocations: 192 / 0.9885 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.0141, allocations: 4.125 kB / 0.9885 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.01413, allocations: 8 kB / 0.9885 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.0146, allocations: 135.9 kB / 0.9886 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.01533, allocations: 368.2 kB / 0.989 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.01579, allocations: 162.3 kB / 0.9891 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.01607, allocations: 96.78 kB / 0.9892 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.01609, allocations: 0 / 0.9892 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.01613, allocations: 42.56 kB / 0.9892 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.01613, allocations: 0 / 0.9892 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0009517/0.01708, allocations: 283.4 kB / 0.9895 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.01714, allocations: 59.41 kB / 0.9896 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.01743, allocations: 245.9 kB / 0.9898 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.01746, allocations: 25.7 kB / 0.9898 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01759, allocations: 136.1 kB / 0.99 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.01766, allocations: 47.53 kB / 0.99 GB, free: 3.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.01774, allocations: 33.7 kB / 0.99 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.01792, allocations: 326.8 kB / 0.9903 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.01817, allocations: 79.92 kB / 0.9904 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.0184, allocations: 67.94 kB / 0.9905 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004843/0.01889, allocations: 160 kB / 0.9906 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01889, allocations: 0 / 0.9906 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005935/0.01948, allocations: 221.3 kB / 0.9909 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.0195, allocations: 11.88 kB / 0.9909 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.01951, allocations: 0 / 0.9909 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.01953, allocations: 4 kB / 0.9909 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.01979, allocations: 31.97 kB / 0.9909 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.0198, allocations: 4 kB / 0.9909 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.01996, allocations: 15.97 kB / 0.9909 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.01998, allocations: 4 kB / 0.9909 GB, free: 2.062 MB / 0.9356 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.0001506/0.02013, allocations: 133.8 kB / 0.991 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.02019, allocations: 31.75 kB / 0.9911 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.507e-05/0.02027, allocations: 37.7 kB / 0.9911 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.02027, allocations: 4 kB / 0.9911 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.02028, allocations: 0 / 0.9911 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02028, allocations: 0 / 0.9911 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.02058, allocations: 197.2 kB / 0.9913 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.02059, allocations: 3.984 kB / 0.9913 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.02082, allocations: 35.91 kB / 0.9913 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.02082, allocations: 0 / 0.9913 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.02084, allocations: 4 kB / 0.9913 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.02084, allocations: 0 / 0.9913 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02084, allocations: 4 kB / 0.9914 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006361/0.02147, allocations: 315.2 kB / 0.9917 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.02155, allocations: 31.78 kB / 0.9917 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.02159, allocations: 8 kB / 0.9917 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.02178, allocations: 11.98 kB / 0.9917 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.02184, allocations: 15.97 kB / 0.9917 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.02186, allocations: 4 kB / 0.9917 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001761/0.02203, allocations: 177.2 kB / 0.9919 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.02203, allocations: 4 kB / 0.9919 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002955/0.02233, allocations: 43.89 kB / 0.9919 GB, free: 0.9609 MB / 0.9356 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.0001971/0.02252, allocations: 103.2 kB / 0.992 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005636/0.02309, allocations: 167.8 kB / 0.9922 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02309, allocations: 0 / 0.9922 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.02336, allocations: 91.48 kB / 0.9923 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.0238, allocations: 54.81 kB / 0.9923 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009494/0.02475, allocations: 431.1 kB / 0.9927 GB, free: 104 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.02492, allocations: 140 kB / 0.9929 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000165/0.02509, allocations: 49.44 kB / 0.9929 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.02516, allocations: 20.48 kB / 0.9929 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.02516, allocations: 0 / 0.9929 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of Templates: time 0.006637/0.03179, allocations: 2.339 MB / 0.9952 GB, free: 13.62 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.463156536221504]