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.001145/0.001145, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.002824, allocations: 440 kB / 10.41 MB, free: 284 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.001221/0.001221, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002864, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9013/0.9013, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08511/0.9865, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.656/2.656, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3713/3.028, allocations: 146 MB / 0.8176 GB, free: 3.82 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.793e-06/1.793e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.016e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002681/0.002701, allocations: 2.249 MB / 0.8211 GB, free: 216 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004255/0.006956, allocations: 4.253 MB / 0.8253 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.007063, allocations: 7.938 kB / 0.8253 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006321/0.007695, allocations: 179 kB / 0.8255 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.00783, allocations: 83.22 kB / 0.8255 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.008331, allocations: 307.1 kB / 0.8258 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000545/0.008876, allocations: 458.4 kB / 0.8263 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.008993, allocations: 46.8 kB / 0.8263 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.00924, allocations: 226.6 kB / 0.8265 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.009385, allocations: 127.6 kB / 0.8267 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.009416, allocations: 20 kB / 0.8267 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.009888, allocations: 359.4 kB / 0.827 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.009995, allocations: 99.7 kB / 0.8271 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.01008, allocations: 83.75 kB / 0.8272 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004588/0.01054, allocations: 478.4 kB / 0.8276 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.01055, allocations: 0 / 0.8276 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01055, allocations: 0 / 0.8276 GB, free: 9.508 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.01057, allocations: 0 / 0.8276 GB, free: 9.508 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.001053/0.01162, allocations: 0.7609 MB / 0.8284 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.01166, allocations: 8.031 kB / 0.8284 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.01239, allocations: 273.8 kB / 0.8287 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.01267, allocations: 263.9 kB / 0.8289 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.01269, allocations: 8.562 kB / 0.8289 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.01271, allocations: 12.38 kB / 0.8289 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.013, allocations: 179.8 kB / 0.8291 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01301, allocations: 0 / 0.8291 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.01303, allocations: 7.938 kB / 0.8291 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.01304, allocations: 4 kB / 0.8291 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.01314, allocations: 51.97 kB / 0.8292 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/0.01396, allocations: 357.5 kB / 0.8295 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.0141, allocations: 109.3 kB / 0.8296 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.01415, allocations: 37.03 kB / 0.8296 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.01421, allocations: 23.94 kB / 0.8297 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.01423, allocations: 38.55 kB / 0.8297 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/0.01423, allocations: 3.984 kB / 0.8297 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002889/0.01452, allocations: 148.4 kB / 0.8298 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.01455, allocations: 51.41 kB / 0.8299 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.01478, allocations: 371.2 kB / 0.8303 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.0148, allocations: 25.7 kB / 0.8303 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.01487, allocations: 145.4 kB / 0.8304 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.01491, allocations: 51.56 kB / 0.8305 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.994e-05/0.01498, allocations: 57.64 kB / 0.8305 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01508, allocations: 350.7 kB / 0.8309 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.929e-05/0.01518, allocations: 84.75 kB / 0.8309 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.01527, allocations: 90.84 kB / 0.831 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.01543, allocations: 151.2 kB / 0.8312 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01544, allocations: 0 / 0.8312 GB, free: 5.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000262/0.0157, allocations: 256.2 kB / 0.8314 GB, free: 5.434 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.01575, allocations: 53.67 kB / 0.8315 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01576, allocations: 3.938 kB / 0.8315 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.01577, allocations: 0 / 0.8315 GB, free: 5.371 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.01599, allocations: 59.92 kB / 0.8315 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.016, allocations: 4 kB / 0.8315 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01612, allocations: 35.83 kB / 0.8316 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.01614, allocations: 11.98 kB / 0.8316 GB, free: 5.262 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.785e-05/0.01623, allocations: 124.6 kB / 0.8317 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.01628, allocations: 27.91 kB / 0.8317 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.01653, allocations: 165.3 kB / 0.8319 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01654, allocations: 0 / 0.8319 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01654, allocations: 4 kB / 0.8319 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01654, allocations: 4 kB / 0.8319 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.01673, allocations: 173.7 kB / 0.832 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01674, allocations: 0 / 0.832 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.0169, allocations: 55.88 kB / 0.8321 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.01697, allocations: 47.69 kB / 0.8321 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01697, allocations: 3.938 kB / 0.8321 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.01698, allocations: 4 kB / 0.8322 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01699, allocations: 7.984 kB / 0.8322 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01699, allocations: 0 / 0.8322 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.0172, allocations: 266.2 kB / 0.8324 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.01723, allocations: 3.938 kB / 0.8324 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.01735, allocations: 15.98 kB / 0.8324 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.01741, allocations: 23.91 kB / 0.8325 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01742, allocations: 7.984 kB / 0.8325 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001159/0.01754, allocations: 152.7 kB / 0.8326 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01754, allocations: 0 / 0.8326 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000264/0.0178, allocations: 131.8 kB / 0.8327 GB, free: 4.012 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.0002578/0.01806, allocations: 172.1 kB / 0.8329 GB, free: 3.836 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006969/0.01876, allocations: 247.1 kB / 0.8331 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.01876, allocations: 8 kB / 0.8331 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.01886, allocations: 68.69 kB / 0.8332 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.01932, allocations: 0.5964 MB / 0.8338 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.02321, allocations: 0.6124 MB / 0.8344 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.903e-05/0.02329, allocations: 104.3 kB / 0.8345 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.02346, allocations: 53.92 kB / 0.8345 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/0.02368, allocations: 107.3 kB / 0.8346 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of SimCode: time 1.913e-06/0.02368, allocations: 0 / 0.8346 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of Templates: time 0.01101/0.03469, allocations: 6.217 MB / 0.8407 GB, free: 11.74 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.858228803612292]