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.001907/0.001907, allocations: 92.7 kB / 19.44 MB, free: 320 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.002139/0.002139, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.212/3.212, allocations: 429.6 MB / 0.673 GB, free: 3.855 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.663e-06/1.663e-06, allocations: 0 / 0.8776 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.263e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.434 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003672/0.003705, allocations: 1.844 MB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005603/0.009308, allocations: 3.401 MB / 0.8827 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.009428, allocations: 4 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009542/0.01038, allocations: 167.1 kB / 0.8829 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.01064, allocations: 83.39 kB / 0.883 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.01081, allocations: 47.94 kB / 0.883 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005924/0.0114, allocations: 279 kB / 0.8833 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.01152, allocations: 25.72 kB / 0.8833 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.01171, allocations: 103.8 kB / 0.8834 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.01186, allocations: 63.8 kB / 0.8835 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.01189, allocations: 8 kB / 0.8835 GB, free: 432 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.709e-05/0.01199, allocations: 27.88 kB / 0.8835 GB, free: 404 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.01208, allocations: 59.83 kB / 0.8836 GB, free: 344 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.356e-05/0.01217, allocations: 59.78 kB / 0.8836 GB, free: 284 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.01249, allocations: 183.3 kB / 0.8838 GB, free: 100 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.0125, allocations: 3.938 kB / 0.8838 GB, free: 96 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.203e-06/0.0125, allocations: 0 / 0.8838 GB, free: 96 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.01251, allocations: 0 / 0.8838 GB, free: 96 kB / 0.8386 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.001051/0.01356, allocations: 472.9 kB / 0.8842 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.0136, allocations: 8.031 kB / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.0146, allocations: 136.6 kB / 0.8844 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.01518, allocations: 196.9 kB / 0.8846 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.0152, allocations: 384 / 0.8846 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.01522, allocations: 12.36 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.01566, allocations: 150 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.01567, allocations: 192 / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.0157, allocations: 8.125 kB / 0.8847 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.01573, allocations: 8 kB / 0.8847 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.01624, allocations: 151.9 kB / 0.8849 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.01704, allocations: 380.3 kB / 0.8852 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005005/0.01754, allocations: 174.3 kB / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.01784, allocations: 104.8 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.01786, allocations: 0 / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.0179, allocations: 42.56 kB / 0.8856 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.0179, allocations: 0 / 0.8856 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001019/0.01892, allocations: 316.3 kB / 0.8859 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.01898, allocations: 59.34 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.01927, allocations: 245.9 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.0193, allocations: 25.7 kB / 0.8862 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01943, allocations: 140.1 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.0195, allocations: 43.66 kB / 0.8863 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/0.01959, allocations: 33.69 kB / 0.8864 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.01978, allocations: 330.8 kB / 0.8867 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.02006, allocations: 79.92 kB / 0.8868 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.0203, allocations: 75.94 kB / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.02084, allocations: 172.7 kB / 0.887 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02084, allocations: 4 kB / 0.887 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007591/0.0216, allocations: 241 kB / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.02162, allocations: 4 kB / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.02163, allocations: 0 / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.02165, allocations: 4 kB / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.02197, allocations: 39.95 kB / 0.8873 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.02198, allocations: 0 / 0.8873 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.02218, allocations: 23.88 kB / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.0222, allocations: 4 kB / 0.8873 GB, free: 12.32 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.0001767/0.02238, allocations: 141.8 kB / 0.8874 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.02245, allocations: 27.8 kB / 0.8875 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.02252, allocations: 25.78 kB / 0.8875 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.02252, allocations: 7.922 kB / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.02253, allocations: 4 kB / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.02253, allocations: 0 / 0.8875 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.02286, allocations: 201.2 kB / 0.8877 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.02286, allocations: 0 / 0.8877 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.02314, allocations: 39.89 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.02315, allocations: 4 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.02317, allocations: 4 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.02317, allocations: 0 / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02317, allocations: 0 / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.02391, allocations: 347.1 kB / 0.8881 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.02402, allocations: 43.7 kB / 0.8881 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.02405, allocations: 0 / 0.8881 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.02429, allocations: 15.98 kB / 0.8881 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.02436, allocations: 7.984 kB / 0.8881 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.02438, allocations: 11.98 kB / 0.8882 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001943/0.02457, allocations: 181.2 kB / 0.8883 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02457, allocations: 0 / 0.8883 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002947/0.02487, allocations: 36 kB / 0.8884 GB, free: 11.19 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.0001601/0.02503, allocations: 95.25 kB / 0.8885 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006038/0.02563, allocations: 183.8 kB / 0.8886 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02563, allocations: 0 / 0.8886 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.02592, allocations: 91.86 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.02639, allocations: 56.41 kB / 0.8888 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.02734, allocations: 441.8 kB / 0.8892 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.0275, allocations: 136.1 kB / 0.8893 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.02773, allocations: 61.44 kB / 0.8894 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.02782, allocations: 20.48 kB / 0.8894 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.02782, allocations: 0 / 0.8894 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.006627/0.03445, allocations: 2.488 MB / 0.8918 GB, free: 7.66 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=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: 8.249201801023446]