Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001404/0.001404, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009969/0.0009969, allocations: 173 kB / 23.02 MB, free: 1.547 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.8772/0.8772, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.929/1.929, allocations: 429.5 MB / 0.6733 GB, free: 4.004 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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.43e-05, allocations: 6.031 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002597/0.002622, allocations: 2.227 MB / 0.8804 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00429/0.006911, allocations: 4.212 MB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.007029, allocations: 7.938 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007521/0.007781, allocations: 179 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.007942, allocations: 83.22 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006668/0.008609, allocations: 335 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006031/0.009212, allocations: 466.4 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.009329, allocations: 44.89 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.009575, allocations: 187.6 kB / 0.8857 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.009712, allocations: 119.7 kB / 0.8858 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.009743, allocations: 20 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004791/0.01022, allocations: 335.3 kB / 0.8862 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.01034, allocations: 127.6 kB / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.87e-05/0.01044, allocations: 103.7 kB / 0.8864 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.0111, allocations: 0.5452 MB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.0111, allocations: 0 / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.0111, allocations: 3.938 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.01111, allocations: 0 / 0.8869 GB, free: 13.36 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008938/0.012, allocations: 0.8118 MB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01204, allocations: 8.031 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/0.01294, allocations: 216.4 kB / 0.8879 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.01324, allocations: 278.7 kB / 0.8882 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01326, allocations: 12.56 kB / 0.8882 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.01328, allocations: 8.375 kB / 0.8882 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.01375, allocations: 192.5 kB / 0.8884 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.01376, allocations: 0 / 0.8884 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.01378, allocations: 4 kB / 0.8884 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.0138, allocations: 4 kB / 0.8884 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.01396, allocations: 79.94 kB / 0.8885 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.01481, allocations: 0.5813 MB / 0.889 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.01496, allocations: 86.97 kB / 0.8891 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.01505, allocations: 55.66 kB / 0.8892 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.0151, allocations: 23.98 kB / 0.8892 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.01512, allocations: 33.39 kB / 0.8892 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.01512, allocations: 0 / 0.8892 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004131/0.01554, allocations: 225.5 kB / 0.8895 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.01557, allocations: 51.41 kB / 0.8895 GB, free: 10.56 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.01587, allocations: 462.7 kB / 0.8899 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.0159, allocations: 29.69 kB / 0.89 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01602, allocations: 255.2 kB / 0.8902 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.01606, allocations: 43.59 kB / 0.8903 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.01614, allocations: 59.34 kB / 0.8903 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.01628, allocations: 0.5274 MB / 0.8908 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.01641, allocations: 101.9 kB / 0.8909 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.01652, allocations: 103.3 kB / 0.891 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.01673, allocations: 179.4 kB / 0.8912 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01674, allocations: 3.938 kB / 0.8912 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003516/0.01709, allocations: 332.1 kB / 0.8915 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.01712, allocations: 45.69 kB / 0.8916 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01712, allocations: 3.984 kB / 0.8916 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.01714, allocations: 0 / 0.8916 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.01734, allocations: 51.95 kB / 0.8916 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.01734, allocations: 0 / 0.8916 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.01747, allocations: 51.69 kB / 0.8917 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.01749, allocations: 11.98 kB / 0.8917 GB, free: 8.246 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0003722/0.01787, allocations: 164.5 kB / 0.8918 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.01792, allocations: 47.72 kB / 0.8919 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.01823, allocations: 204.8 kB / 0.8921 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01824, allocations: 4 kB / 0.8921 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01824, allocations: 3.938 kB / 0.8921 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01824, allocations: 3.938 kB / 0.8921 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.01849, allocations: 284.3 kB / 0.8924 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.01849, allocations: 3.938 kB / 0.8924 GB, free: 7.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.01864, allocations: 43.95 kB / 0.8924 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.01865, allocations: 0 / 0.8924 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01867, allocations: 11.98 kB / 0.8924 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01867, allocations: 0 / 0.8924 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01867, allocations: 4 kB / 0.8924 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.01896, allocations: 323.6 kB / 0.8927 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.01904, allocations: 67.56 kB / 0.8928 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.01907, allocations: 4 kB / 0.8928 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.01919, allocations: 19.97 kB / 0.8928 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.01926, allocations: 23.95 kB / 0.8928 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.01927, allocations: 7.984 kB / 0.8928 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001701/0.01944, allocations: 295 kB / 0.8931 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01944, allocations: 4 kB / 0.8931 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003115/0.01975, allocations: 131.8 kB / 0.8932 GB, free: 6.562 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.0002308/0.01998, allocations: 179 kB / 0.8934 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.02032, allocations: 284.6 kB / 0.8937 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02032, allocations: 0 / 0.8937 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.02042, allocations: 75.58 kB / 0.8938 GB, free: 6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.02073, allocations: 81.73 kB / 0.8938 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.02163, allocations: 0.5923 MB / 0.8944 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.02169, allocations: 112.3 kB / 0.8945 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.02185, allocations: 57.91 kB / 0.8946 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.02194, allocations: 40.41 kB / 0.8946 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.02194, allocations: 0 / 0.8946 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.008262/0.0302, allocations: 6.298 MB / 0.9008 GB, free: 14.86 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.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.150306159630418]