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.001008/0.001008, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009759/0.0009759, allocations: 173 kB / 23.02 MB, free: 1.543 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.9205/0.9205, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.954/1.954, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] 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.[0-9,]+.|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.[0-9,]+.|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 2.124e-06/2.124e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.019e-05/3.231e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00322/0.003253, allocations: 1.932 MB / 0.8801 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004554/0.007807, allocations: 3.685 MB / 0.8837 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.007967, allocations: 4 kB / 0.8837 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009284/0.008895, allocations: 168.6 kB / 0.8838 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.009136, allocations: 74.08 kB / 0.8839 GB, free: 440 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.009278, allocations: 55.84 kB / 0.8839 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005263/0.009805, allocations: 284.7 kB / 0.8842 GB, free: 100 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.009915, allocations: 25.78 kB / 0.8842 GB, free: 68 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.01012, allocations: 95.78 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.01024, allocations: 63.8 kB / 0.8844 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.01026, allocations: 8 kB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.316e-05/0.01036, allocations: 31.91 kB / 0.8844 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-05/0.01043, allocations: 55.78 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.01049, allocations: 47.86 kB / 0.8845 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.01075, allocations: 159.3 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01075, allocations: 0 / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01076, allocations: 4 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.01076, allocations: 0 / 0.8847 GB, free: 15.61 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.0007435/0.01151, allocations: 0.5499 MB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.01155, allocations: 8.031 kB / 0.8852 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005726/0.01212, allocations: 100.7 kB / 0.8853 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.01237, allocations: 195.6 kB / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.01239, allocations: 8.375 kB / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.01241, allocations: 384 / 0.8855 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.01389, allocations: 112.9 kB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.0139, allocations: 192 / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.01393, allocations: 12.12 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.01397, allocations: 11.98 kB / 0.8856 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.01412, allocations: 43.91 kB / 0.8857 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.01486, allocations: 403.6 kB / 0.8861 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.0151, allocations: 101.5 kB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01521, allocations: 47.66 kB / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.01523, allocations: 0 / 0.8862 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.01526, allocations: 45.33 kB / 0.8863 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.01526, allocations: 0 / 0.8863 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004489/0.01571, allocations: 149.7 kB / 0.8864 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.01575, allocations: 55.41 kB / 0.8865 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.016, allocations: 300.3 kB / 0.8867 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.01602, allocations: 25.7 kB / 0.8868 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01614, allocations: 182.9 kB / 0.8869 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.01619, allocations: 51.58 kB / 0.887 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.01626, allocations: 31.36 kB / 0.887 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.01645, allocations: 0.5157 MB / 0.8875 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.01653, allocations: 15.98 kB / 0.8875 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.0166, allocations: 27.92 kB / 0.8876 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.01678, allocations: 67.17 kB / 0.8876 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01678, allocations: 0 / 0.8876 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002858/0.01707, allocations: 129.5 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.01709, allocations: 4 kB / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.0171, allocations: 0 / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.01712, allocations: 0 / 0.8878 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.01737, allocations: 35.91 kB / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01738, allocations: 0 / 0.8878 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.01751, allocations: 15.94 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.01753, allocations: 7.984 kB / 0.8878 GB, free: 12.2 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.0001194/0.01765, allocations: 164.6 kB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.01772, allocations: 27.8 kB / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.01778, allocations: 33.77 kB / 0.888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01778, allocations: 0 / 0.888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.01779, allocations: 4 kB / 0.888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01779, allocations: 0 / 0.888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.01807, allocations: 208.4 kB / 0.8882 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.01807, allocations: 0 / 0.8882 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.01826, allocations: 39.86 kB / 0.8883 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01826, allocations: 4 kB / 0.8883 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.01828, allocations: 3.984 kB / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.01828, allocations: 4 kB / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.01828, allocations: 0 / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.01862, allocations: 267.8 kB / 0.8885 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.318e-05/0.0187, allocations: 39.77 kB / 0.8886 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.01874, allocations: 4 kB / 0.8886 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.0189, allocations: 4 kB / 0.8886 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.01896, allocations: 19.97 kB / 0.8886 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.01898, allocations: 4 kB / 0.8886 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001601/0.01914, allocations: 209.1 kB / 0.8888 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.91e-07/0.01914, allocations: 0 / 0.8888 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003077/0.01945, allocations: 32 kB / 0.8888 GB, free: 11.09 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.0001291/0.01957, allocations: 107.2 kB / 0.8889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.01983, allocations: 79.14 kB / 0.889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01983, allocations: 0 / 0.889 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.01994, allocations: 51.59 kB / 0.8891 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.02038, allocations: 62.22 kB / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.02149, allocations: 395.5 kB / 0.8895 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.02157, allocations: 91.75 kB / 0.8896 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.02177, allocations: 57.42 kB / 0.8896 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.85e-05/0.02186, allocations: 16.5 kB / 0.8897 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/0.02186, allocations: 0 / 0.8897 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006714/0.02858, allocations: 2.638 MB / 0.8922 GB, free: 7.629 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.298487131018192]