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.002199/0.002199, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.001965/0.001965, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.338/3.338, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8775 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.271e-05, allocations: 4.703 kB / 0.8775 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003523/0.003556, allocations: 1.897 MB / 0.8793 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005564/0.00912, allocations: 3.661 MB / 0.8829 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.009257, allocations: 7.938 kB / 0.8829 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009514/0.01021, allocations: 165.8 kB / 0.883 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.01051, allocations: 79.41 kB / 0.8831 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000181/0.01069, allocations: 51.92 kB / 0.8832 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.01126, allocations: 282.9 kB / 0.8834 GB, free: 396 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.01137, allocations: 21.78 kB / 0.8835 GB, free: 368 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.01155, allocations: 103.7 kB / 0.8836 GB, free: 264 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.0117, allocations: 63.8 kB / 0.8836 GB, free: 200 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.01173, allocations: 8 kB / 0.8836 GB, free: 192 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.01184, allocations: 31.91 kB / 0.8837 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.01192, allocations: 51.84 kB / 0.8837 GB, free: 108 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.637e-05/0.01201, allocations: 55.8 kB / 0.8838 GB, free: 52 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.01234, allocations: 187.3 kB / 0.8839 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.01235, allocations: 4 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01235, allocations: 0 / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.01235, allocations: 0 / 0.8839 GB, free: 15.86 MB / 0.8542 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.0009988/0.01335, allocations: 0.5691 MB / 0.8845 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01339, allocations: 8.031 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/0.01427, allocations: 116.6 kB / 0.8846 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.01475, allocations: 199.7 kB / 0.8848 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.01477, allocations: 4.375 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.01479, allocations: 384 / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.0151, allocations: 110.1 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.01511, allocations: 192 / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.01513, allocations: 4.125 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.604e-05/0.01517, allocations: 15.94 kB / 0.8849 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.0155, allocations: 83.94 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.01631, allocations: 423.6 kB / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.01666, allocations: 126.9 kB / 0.8855 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.01686, allocations: 67.64 kB / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.01689, allocations: 4 kB / 0.8856 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.01693, allocations: 33.39 kB / 0.8856 GB, free: 14 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 3.858e-06/0.01693, allocations: 7.938 kB / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0007284/0.01766, allocations: 213.6 kB / 0.8859 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.01771, allocations: 55.41 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.01804, allocations: 320.3 kB / 0.8862 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.01807, allocations: 25.7 kB / 0.8862 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.01823, allocations: 186.8 kB / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.01829, allocations: 51.53 kB / 0.8865 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01839, allocations: 43.34 kB / 0.8865 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000302/0.0187, allocations: 0.5157 MB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.01886, allocations: 39.97 kB / 0.8871 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.01902, allocations: 43.97 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.01936, allocations: 103.1 kB / 0.8872 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01936, allocations: 0 / 0.8872 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004547/0.01982, allocations: 169.4 kB / 0.8874 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01984, allocations: 7.984 kB / 0.8874 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01984, allocations: 0 / 0.8874 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.01986, allocations: 0 / 0.8874 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.02012, allocations: 31.92 kB / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.02013, allocations: 0 / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.02031, allocations: 15.94 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.02033, allocations: 4 kB / 0.8874 GB, free: 12.12 MB / 0.8542 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.0001666/0.02049, allocations: 172.6 kB / 0.8876 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.095e-05/0.02056, allocations: 31.8 kB / 0.8876 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.02064, allocations: 25.77 kB / 0.8876 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.02065, allocations: 8 kB / 0.8876 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.02065, allocations: 0 / 0.8876 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.02066, allocations: 0 / 0.8876 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.02099, allocations: 212.5 kB / 0.8878 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02099, allocations: 0 / 0.8878 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.02124, allocations: 39.84 kB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.02124, allocations: 4 kB / 0.8879 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.02126, allocations: 8 kB / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.02126, allocations: 3.984 kB / 0.8879 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.02126, allocations: 3.938 kB / 0.8879 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.02182, allocations: 303.8 kB / 0.8882 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.02194, allocations: 39.77 kB / 0.8882 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.02198, allocations: 4 kB / 0.8882 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.02217, allocations: 11.98 kB / 0.8882 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.02224, allocations: 19.92 kB / 0.8883 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.02225, allocations: 0 / 0.8883 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002087/0.02246, allocations: 221.1 kB / 0.8885 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02246, allocations: 0 / 0.8885 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00027/0.02273, allocations: 36 kB / 0.8885 GB, free: 10.93 MB / 0.8542 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.0001489/0.02288, allocations: 99.25 kB / 0.8886 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004431/0.02332, allocations: 123.5 kB / 0.8887 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02332, allocations: 4 kB / 0.8887 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.02353, allocations: 74.89 kB / 0.8888 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.02396, allocations: 48.41 kB / 0.8888 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.02482, allocations: 403.6 kB / 0.8892 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.02497, allocations: 128 kB / 0.8893 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002215/0.02519, allocations: 57.42 kB / 0.8894 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.02528, allocations: 24.48 kB / 0.8894 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.02528, allocations: 0 / 0.8894 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of Templates: time 0.006493/0.03177, allocations: 2.479 MB / 0.8918 GB, free: 7.531 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] 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: 8.566556733916514]