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.000791/0.000791, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009627/0.001754, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007106/0.0007106, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008484/0.001559, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9733/0.9733, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1168/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.468/2.468, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3162/2.784, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.563e-06/1.563e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.517e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002827/0.002852, allocations: 2.257 MB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004907/0.007758, allocations: 4.246 MB / 0.8247 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.007893, allocations: 3.938 kB / 0.8247 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.008554, allocations: 179 kB / 0.8248 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.00869, allocations: 91.2 kB / 0.8249 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.009252, allocations: 303 kB / 0.8252 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.009822, allocations: 450.5 kB / 0.8256 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.009956, allocations: 50.66 kB / 0.8257 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.01021, allocations: 234.7 kB / 0.8259 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.01036, allocations: 123.6 kB / 0.826 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.0104, allocations: 24 kB / 0.826 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.01085, allocations: 355.4 kB / 0.8264 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.01096, allocations: 99.7 kB / 0.8265 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.01105, allocations: 87.75 kB / 0.8266 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.01158, allocations: 474.4 kB / 0.827 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.0116, allocations: 0 / 0.827 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.0116, allocations: 0 / 0.827 GB, free: 9.949 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.01161, allocations: 0 / 0.827 GB, free: 9.949 MB / 0.8073 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.001306/0.01292, allocations: 0.7648 MB / 0.8278 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.01296, allocations: 12.62 kB / 0.8278 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.01368, allocations: 265.8 kB / 0.828 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.01396, allocations: 255.9 kB / 0.8283 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.01397, allocations: 16.55 kB / 0.8283 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.01399, allocations: 12.38 kB / 0.8283 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.01429, allocations: 175.8 kB / 0.8285 GB, free: 8.379 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.01429, allocations: 4 kB / 0.8285 GB, free: 8.375 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.01431, allocations: 4 kB / 0.8285 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.01432, allocations: 0 / 0.8285 GB, free: 8.371 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.01442, allocations: 55.97 kB / 0.8285 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.01504, allocations: 353.5 kB / 0.8289 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.01517, allocations: 105.3 kB / 0.829 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.01523, allocations: 40.97 kB / 0.829 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.01529, allocations: 28.17 kB / 0.829 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.01532, allocations: 30.56 kB / 0.8291 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.01532, allocations: 0 / 0.8291 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002771/0.0156, allocations: 149.6 kB / 0.8292 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.01563, allocations: 59.41 kB / 0.8293 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.01584, allocations: 371.2 kB / 0.8296 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.01587, allocations: 25.7 kB / 0.8296 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.01593, allocations: 145.4 kB / 0.8298 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.01597, allocations: 47.56 kB / 0.8298 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.805e-05/0.01604, allocations: 53.59 kB / 0.8299 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01614, allocations: 358.7 kB / 0.8302 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.01624, allocations: 88.69 kB / 0.8303 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.01632, allocations: 86.14 kB / 0.8304 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01648, allocations: 159.7 kB / 0.8305 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01649, allocations: 0 / 0.8305 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002346/0.01672, allocations: 254.6 kB / 0.8308 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.01676, allocations: 41.69 kB / 0.8308 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01677, allocations: 0 / 0.8308 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.01678, allocations: 4 kB / 0.8308 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.017, allocations: 63.86 kB / 0.8309 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.017, allocations: 7.984 kB / 0.8309 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.01712, allocations: 31.83 kB / 0.8309 GB, free: 5.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.01714, allocations: 15.98 kB / 0.8309 GB, free: 5.711 MB / 0.8073 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 9.301e-05/0.01723, allocations: 112.7 kB / 0.831 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.01727, allocations: 27.91 kB / 0.8311 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.01751, allocations: 180.4 kB / 0.8312 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01752, allocations: 0 / 0.8312 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01752, allocations: 4 kB / 0.8312 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01752, allocations: 0 / 0.8312 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.01771, allocations: 177.7 kB / 0.8314 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.01771, allocations: 0 / 0.8314 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.01788, allocations: 55.92 kB / 0.8315 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.01795, allocations: 43.7 kB / 0.8315 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.01795, allocations: 11.94 kB / 0.8315 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.01796, allocations: 3.984 kB / 0.8315 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01797, allocations: 0 / 0.8315 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.01797, allocations: 0 / 0.8315 GB, free: 5.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.0182, allocations: 266.1 kB / 0.8318 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.01823, allocations: 3.938 kB / 0.8318 GB, free: 4.789 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01835, allocations: 27.97 kB / 0.8318 GB, free: 4.762 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.0184, allocations: 15.97 kB / 0.8318 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.01841, allocations: 7.984 kB / 0.8318 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001216/0.01854, allocations: 156.7 kB / 0.832 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01854, allocations: 0 / 0.832 GB, free: 4.582 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002993/0.01884, allocations: 131.8 kB / 0.8321 GB, free: 4.453 MB / 0.8073 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.0002595/0.01909, allocations: 174.3 kB / 0.8323 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.01938, allocations: 245.9 kB / 0.8325 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.01939, allocations: 8 kB / 0.8325 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.01947, allocations: 56.77 kB / 0.8326 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.01976, allocations: 97.89 kB / 0.8327 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.02373, allocations: 0.6116 MB / 0.8333 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.0238, allocations: 104.3 kB / 0.8334 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.02396, allocations: 45.94 kB / 0.8334 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.02416, allocations: 115.2 kB / 0.8335 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of SimCode: time 1.222e-06/0.02416, allocations: 0 / 0.8335 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of Templates: time 0.008327/0.03248, allocations: 6.165 MB / 0.8395 GB, free: 12.86 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.ref.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.5894932290539145]