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.002395/0.002395, allocations: 85.48 kB / 19.44 MB, free: 344 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.003384/0.003384, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.688/1.688, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.46/3.46, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",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.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.546e-05, allocations: 4.562 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004117/0.004152, allocations: 2.188 MB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006488/0.01064, allocations: 4.195 MB / 0.8837 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.01102, allocations: 7.938 kB / 0.8837 GB, free: 280 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008809/0.0119, allocations: 169.5 kB / 0.8839 GB, free: 112 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.01211, allocations: 89.94 kB / 0.8839 GB, free: 24 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009312/0.01304, allocations: 338.2 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008252/0.01386, allocations: 470.6 kB / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.01399, allocations: 40.89 kB / 0.8847 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.01428, allocations: 179.6 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.01453, allocations: 131.6 kB / 0.885 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.01458, allocations: 20 kB / 0.8851 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00066/0.01524, allocations: 327.4 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.01541, allocations: 120.3 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.01559, allocations: 116.2 kB / 0.8856 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.01653, allocations: 0.6347 MB / 0.8862 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.01654, allocations: 1.531 kB / 0.8862 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01654, allocations: 4 kB / 0.8862 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.01654, allocations: 0 / 0.8862 GB, free: 13.68 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.001617/0.01816, allocations: 0.8349 MB / 0.887 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.0182, allocations: 12.03 kB / 0.8871 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001863/0.02006, allocations: 260.4 kB / 0.8873 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009654/0.02103, allocations: 334.8 kB / 0.8876 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.02105, allocations: 16.55 kB / 0.8876 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.02109, allocations: 12.31 kB / 0.8876 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.02169, allocations: 197.8 kB / 0.8878 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.0217, allocations: 3.938 kB / 0.8878 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.02173, allocations: 4 kB / 0.8878 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.02174, allocations: 4 kB / 0.8879 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007715/0.02251, allocations: 210.3 kB / 0.8881 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.02414, allocations: 0.6165 MB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004504/0.02459, allocations: 139 kB / 0.8888 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003891/0.02498, allocations: 119.6 kB / 0.8889 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/0.02505, allocations: 19.98 kB / 0.8889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.02509, allocations: 33.39 kB / 0.889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 9.688e-06/0.0251, allocations: 0 / 0.889 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001421/0.02652, allocations: 413.4 kB / 0.8893 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.02657, allocations: 51.41 kB / 0.8894 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.02719, allocations: 0.5064 MB / 0.8899 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.02723, allocations: 33.7 kB / 0.8899 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.02747, allocations: 259.2 kB / 0.8902 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.02753, allocations: 47.59 kB / 0.8902 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.02768, allocations: 67.34 kB / 0.8903 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006089/0.02829, allocations: 0.5391 MB / 0.8908 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.02874, allocations: 161.8 kB / 0.891 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.02919, allocations: 171.3 kB / 0.8911 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.03004, allocations: 299.3 kB / 0.8914 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.03004, allocations: 0 / 0.8914 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001153/0.03119, allocations: 457.9 kB / 0.8918 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.03126, allocations: 45.69 kB / 0.8919 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.03127, allocations: 0 / 0.8919 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.03129, allocations: 0 / 0.8919 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.03175, allocations: 51.94 kB / 0.8919 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.03175, allocations: 7.938 kB / 0.8919 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.0321, allocations: 35.83 kB / 0.892 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.03214, allocations: 15.98 kB / 0.892 GB, free: 7.531 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.0002074/0.03235, allocations: 176.5 kB / 0.8922 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.03246, allocations: 51.7 kB / 0.8922 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.03353, allocations: 336.8 kB / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.03354, allocations: 0 / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.03354, allocations: 0 / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.03354, allocations: 0 / 0.8925 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.03402, allocations: 320.2 kB / 0.8928 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.03403, allocations: 0 / 0.8928 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.03441, allocations: 55.88 kB / 0.8929 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.03441, allocations: 0 / 0.8929 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.03443, allocations: 3.984 kB / 0.8929 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.03444, allocations: 4 kB / 0.8929 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.03444, allocations: 0 / 0.8929 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.03545, allocations: 447.5 kB / 0.8933 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.03563, allocations: 59.67 kB / 0.8934 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.03569, allocations: 4 kB / 0.8934 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.03601, allocations: 23.97 kB / 0.8934 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.0361, allocations: 27.91 kB / 0.8934 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.03613, allocations: 0 / 0.8934 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003827/0.03651, allocations: 335 kB / 0.8938 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03651, allocations: 0 / 0.8938 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005293/0.03704, allocations: 123.8 kB / 0.8939 GB, free: 5.539 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.0004027/0.03744, allocations: 191 kB / 0.8941 GB, free: 5.344 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.03852, allocations: 418.8 kB / 0.8945 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03852, allocations: 0 / 0.8945 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.03897, allocations: 139.5 kB / 0.8946 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.03948, allocations: 77.8 kB / 0.8947 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.04084, allocations: 0.6157 MB / 0.8953 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.04106, allocations: 187.5 kB / 0.8954 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.04136, allocations: 65.91 kB / 0.8955 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.0415, allocations: 28.48 kB / 0.8955 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.0415, allocations: 4 kB / 0.8955 GB, free: 3.746 MB / 0.8542 GB Notification: Performance of Templates: time 0.01271/0.05421, allocations: 5.841 MB / 0.9012 GB, free: 14 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.787578247021884]