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.001083/0.001083, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.00114/0.00114, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.096/1.096, allocations: 177.1 MB / 204.5 MB, free: 5.523 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 2.196/2.196, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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 1.864e-06/1.864e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.414e-05, allocations: 5.562 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004098/0.004132, allocations: 1.921 MB / 0.8813 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005319/0.009451, allocations: 3.655 MB / 0.8848 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.009635, allocations: 0 / 0.8848 GB, free: 464 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.01065, allocations: 165.3 kB / 0.885 GB, free: 300 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.01094, allocations: 79.34 kB / 0.8851 GB, free: 220 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.01113, allocations: 48.64 kB / 0.8851 GB, free: 172 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005592/0.01169, allocations: 289.7 kB / 0.8854 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.0118, allocations: 17.8 kB / 0.8854 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.01198, allocations: 99.77 kB / 0.8855 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.01211, allocations: 67.8 kB / 0.8856 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.01213, allocations: 8 kB / 0.8856 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.01223, allocations: 35.84 kB / 0.8856 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.01231, allocations: 51.84 kB / 0.8857 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.01237, allocations: 47.86 kB / 0.8857 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.01263, allocations: 159.3 kB / 0.8859 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01264, allocations: 0 / 0.8859 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01264, allocations: 0 / 0.8859 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.01265, allocations: 3.938 kB / 0.8859 GB, free: 15.4 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.001033/0.01368, allocations: 0.5577 MB / 0.8864 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.01372, allocations: 8.031 kB / 0.8864 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006194/0.01434, allocations: 88.7 kB / 0.8865 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.01459, allocations: 195.6 kB / 0.8867 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.0146, allocations: 4.375 kB / 0.8867 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.01462, allocations: 12.36 kB / 0.8867 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.01487, allocations: 102.8 kB / 0.8868 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01488, allocations: 4.125 kB / 0.8868 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.0149, allocations: 12.06 kB / 0.8868 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.01493, allocations: 8 kB / 0.8868 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.01503, allocations: 31.97 kB / 0.8869 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.01557, allocations: 356.2 kB / 0.8872 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.01574, allocations: 94.94 kB / 0.8873 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.447e-05/0.01582, allocations: 43.66 kB / 0.8873 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.01584, allocations: 3.938 kB / 0.8873 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.01587, allocations: 41.39 kB / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.01587, allocations: 0 / 0.8874 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003456/0.01622, allocations: 133.2 kB / 0.8875 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.01625, allocations: 59.39 kB / 0.8876 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.01647, allocations: 296.2 kB / 0.8878 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.01649, allocations: 33.7 kB / 0.8879 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.0166, allocations: 186.8 kB / 0.888 GB, free: 13 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.01665, allocations: 51.56 kB / 0.8881 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.01672, allocations: 35.36 kB / 0.8881 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.01689, allocations: 0.5157 MB / 0.8886 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.01694, allocations: 15.98 kB / 0.8887 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.017, allocations: 15.98 kB / 0.8887 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01712, allocations: 51.66 kB / 0.8887 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01712, allocations: 0 / 0.8887 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002252/0.01735, allocations: 121.5 kB / 0.8888 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.01737, allocations: 10.34 kB / 0.8888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01737, allocations: 0 / 0.8888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.01739, allocations: 3.938 kB / 0.8888 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.01759, allocations: 31.97 kB / 0.8889 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.01759, allocations: 0 / 0.8889 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.0177, allocations: 11.95 kB / 0.8889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.01772, allocations: 7.984 kB / 0.8889 GB, free: 12.11 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.000106/0.01782, allocations: 156.6 kB / 0.889 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.01788, allocations: 39.73 kB / 0.8891 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/0.01793, allocations: 25.77 kB / 0.8891 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.01794, allocations: 4 kB / 0.8891 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01794, allocations: 0 / 0.8891 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01794, allocations: 0 / 0.8891 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.01818, allocations: 165.1 kB / 0.8893 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01818, allocations: 3.938 kB / 0.8893 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.0183, allocations: 35.97 kB / 0.8893 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.0183, allocations: 4 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.01831, allocations: 3.938 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01831, allocations: 4 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01832, allocations: 0 / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.01854, allocations: 271.4 kB / 0.8896 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.01858, allocations: 31.83 kB / 0.8896 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01861, allocations: 7.875 kB / 0.8896 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.01869, allocations: 8 kB / 0.8896 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.01873, allocations: 15.97 kB / 0.8896 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01874, allocations: 4 kB / 0.8896 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.856e-05/0.01883, allocations: 201.1 kB / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.01883, allocations: 4 kB / 0.8898 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001725/0.019, allocations: 36 kB / 0.8899 GB, free: 11.05 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.0001183/0.01912, allocations: 97.22 kB / 0.89 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.01925, allocations: 67.58 kB / 0.89 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01925, allocations: 0 / 0.89 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.299e-05/0.0193, allocations: 47.64 kB / 0.8901 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.01958, allocations: 61.91 kB / 0.8901 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.02025, allocations: 395.5 kB / 0.8905 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.0203, allocations: 83.81 kB / 0.8906 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.867e-05/0.0204, allocations: 33.47 kB / 0.8906 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.02052, allocations: 110.2 kB / 0.8907 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.02052, allocations: 0 / 0.8907 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.004315/0.02484, allocations: 2.731 MB / 0.8934 GB, free: 7.461 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.7504845769144595]