Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000819/0.000819, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.000859/0.000859, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9564/0.9564, allocations: 177.2 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.783/1.783, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.572e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002373/0.002399, allocations: 2.108 MB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003733/0.006132, allocations: 3.931 MB / 0.9881 GB, free: 12.04 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.006251, allocations: 7.938 kB / 0.9881 GB, free: 12.03 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.006959, allocations: 173.7 kB / 0.9883 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.007089, allocations: 87.16 kB / 0.9883 GB, free: 11.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.007635, allocations: 343.1 kB / 0.9887 GB, free: 11.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.008138, allocations: 466.4 kB / 0.9891 GB, free: 10.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.008251, allocations: 36.91 kB / 0.9892 GB, free: 10.94 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.008422, allocations: 175.6 kB / 0.9893 GB, free: 10.77 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.008554, allocations: 131.6 kB / 0.9894 GB, free: 10.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.008583, allocations: 24 kB / 0.9895 GB, free: 10.62 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.008963, allocations: 327.4 kB / 0.9898 GB, free: 10.3 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.009058, allocations: 123.5 kB / 0.9899 GB, free: 10.18 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/0.009145, allocations: 115.7 kB / 0.99 GB, free: 10.06 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.00969, allocations: 0.6386 MB / 0.9906 GB, free: 9.422 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.009693, allocations: 0 / 0.9906 GB, free: 9.422 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/0.009695, allocations: 0 / 0.9906 GB, free: 9.422 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.009702, allocations: 0 / 0.9906 GB, free: 9.422 MB / 0.948 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.0008469/0.01055, allocations: 0.7379 MB / 0.9914 GB, free: 8.648 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01059, allocations: 8.031 kB / 0.9914 GB, free: 8.641 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.01124, allocations: 248.3 kB / 0.9916 GB, free: 8.398 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.01178, allocations: 340 kB / 0.9919 GB, free: 8.047 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.0118, allocations: 16.55 kB / 0.9919 GB, free: 8.031 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.01182, allocations: 12.38 kB / 0.9919 GB, free: 8.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003883/0.01221, allocations: 249.7 kB / 0.9922 GB, free: 7.77 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.01222, allocations: 0 / 0.9922 GB, free: 7.77 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.01224, allocations: 4 kB / 0.9922 GB, free: 7.766 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.01224, allocations: 8 kB / 0.9922 GB, free: 7.758 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.01276, allocations: 323.7 kB / 0.9925 GB, free: 7.441 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007924/0.01355, allocations: 0.5898 MB / 0.9931 GB, free: 6.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005729/0.01412, allocations: 214.4 kB / 0.9933 GB, free: 6.602 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.01438, allocations: 168.7 kB / 0.9934 GB, free: 6.434 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.66e-05/0.01443, allocations: 19.98 kB / 0.9935 GB, free: 6.414 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.01444, allocations: 34.56 kB / 0.9935 GB, free: 6.371 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.01445, allocations: 4 kB / 0.9935 GB, free: 6.367 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0009054/0.01535, allocations: 0.5655 MB / 0.9941 GB, free: 5.797 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.01538, allocations: 55.34 kB / 0.9941 GB, free: 5.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.01568, allocations: 453.8 kB / 0.9945 GB, free: 5.273 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.0157, allocations: 29.7 kB / 0.9946 GB, free: 5.238 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.0158, allocations: 200.4 kB / 0.9948 GB, free: 5.039 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.01583, allocations: 43.66 kB / 0.9948 GB, free: 4.996 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.0159, allocations: 53.67 kB / 0.9949 GB, free: 4.938 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.01599, allocations: 346.8 kB / 0.9952 GB, free: 4.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.01634, allocations: 337.7 kB / 0.9955 GB, free: 4.254 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.01667, allocations: 334 kB / 0.9958 GB, free: 3.922 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.01728, allocations: 0.5186 MB / 0.9963 GB, free: 3.395 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01728, allocations: 0 / 0.9963 GB, free: 3.395 MB / 0.948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007733/0.01805, allocations: 0.7664 MB / 0.9971 GB, free: 2.609 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.01809, allocations: 45.69 kB / 0.9971 GB, free: 2.559 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.0181, allocations: 0 / 0.9971 GB, free: 2.559 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.01811, allocations: 4 kB / 0.9971 GB, free: 2.555 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.01833, allocations: 63.92 kB / 0.9972 GB, free: 2.492 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01834, allocations: 4 kB / 0.9972 GB, free: 2.488 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.01849, allocations: 63.66 kB / 0.9973 GB, free: 2.426 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.01851, allocations: 4 kB / 0.9973 GB, free: 2.422 MB / 0.948 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.000116/0.01863, allocations: 157.8 kB / 0.9974 GB, free: 2.258 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01867, allocations: 47.75 kB / 0.9975 GB, free: 2.211 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/0.01933, allocations: 440.8 kB / 0.9979 GB, free: 1.773 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01933, allocations: 0 / 0.9979 GB, free: 1.773 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01934, allocations: 4 kB / 0.9979 GB, free: 1.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01934, allocations: 3.938 kB / 0.9979 GB, free: 1.766 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.01957, allocations: 281 kB / 0.9981 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01958, allocations: 0 / 0.9981 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.01973, allocations: 63.92 kB / 0.9982 GB, free: 1.398 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.01974, allocations: 3.984 kB / 0.9982 GB, free: 1.395 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.01976, allocations: 7.984 kB / 0.9982 GB, free: 1.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01976, allocations: 4 kB / 0.9982 GB, free: 1.383 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01976, allocations: 4 kB / 0.9982 GB, free: 1.379 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006047/0.02036, allocations: 0.4977 MB / 0.9987 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.02045, allocations: 67.56 kB / 0.9988 GB, free: 0.8008 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.02048, allocations: 8 kB / 0.9988 GB, free: 0.793 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.02063, allocations: 35.94 kB / 0.9988 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.02069, allocations: 15.97 kB / 0.9988 GB, free: 0.7422 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.0207, allocations: 8 kB / 0.9988 GB, free: 0.7344 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002066/0.02091, allocations: 311.1 kB / 0.9991 GB, free: 444 kB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02091, allocations: 0 / 0.9991 GB, free: 444 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003726/0.02128, allocations: 135.8 kB / 0.9993 GB, free: 308 kB / 0.948 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.0002738/0.02156, allocations: 183 kB / 0.9994 GB, free: 112 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007669/0.02232, allocations: 0.6324 MB / 1 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02233, allocations: 0 / 1 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.02285, allocations: 179.8 kB / 1 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.02318, allocations: 65.78 kB / 1 GB, free: 15.22 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.02404, allocations: 0.7155 MB / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.02416, allocations: 191.5 kB / 1.001 GB, free: 14.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.02427, allocations: 36.47 kB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of SimCode: time 1.223e-06/0.02427, allocations: 0 / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of Templates: time 0.005521/0.02979, allocations: 5.819 MB / 1.007 GB, free: 8.441 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.0188481993973255]