Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0007734/0.0007734, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002035, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007193/0.0007193, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001795, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9174/0.9174, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07929/0.9967, 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 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.816/1.816, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4654/2.281, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0.5469 kB / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.17e-05, allocations: 3.312 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003113/0.003134, allocations: 1.978 MB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004365/0.007499, allocations: 3.762 MB / 0.7353 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.007637, allocations: 3.938 kB / 0.7353 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.008385, allocations: 181.6 kB / 0.7354 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.008595, allocations: 84.98 kB / 0.7355 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.008729, allocations: 47.88 kB / 0.7356 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.009214, allocations: 284.9 kB / 0.7358 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.585e-05/0.0093, allocations: 24.03 kB / 0.7359 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.00952, allocations: 140.2 kB / 0.736 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.009642, allocations: 61.17 kB / 0.7361 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.009665, allocations: 8 kB / 0.7361 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.009773, allocations: 31.91 kB / 0.7361 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.836e-05/0.009841, allocations: 51.84 kB / 0.7361 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.009899, allocations: 48.47 kB / 0.7362 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.01013, allocations: 148.5 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.01014, allocations: 0 / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.263e-06/0.01014, allocations: 0 / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.01015, allocations: 0.9688 kB / 0.7363 GB, free: 13.61 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006887/0.01084, allocations: 471.1 kB / 0.7368 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.01087, allocations: 9.281 kB / 0.7368 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.01117, allocations: 123.2 kB / 0.7369 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.0114, allocations: 193.9 kB / 0.7371 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.01141, allocations: 5.234 kB / 0.7371 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.01143, allocations: 12.36 kB / 0.7371 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.01164, allocations: 104.5 kB / 0.7372 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.01164, allocations: 192 / 0.7372 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.01165, allocations: 4.125 kB / 0.7372 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.01169, allocations: 12.86 kB / 0.7372 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.916e-05/0.01176, allocations: 23.98 kB / 0.7372 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.01215, allocations: 247 kB / 0.7375 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.01227, allocations: 71.14 kB / 0.7376 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.01233, allocations: 33.83 kB / 0.7376 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.01235, allocations: 8 kB / 0.7376 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.01237, allocations: 39.25 kB / 0.7376 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.01238, allocations: 3.938 kB / 0.7376 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002208/0.0126, allocations: 101.4 kB / 0.7377 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.01263, allocations: 51.41 kB / 0.7378 GB, free: 12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.01278, allocations: 235 kB / 0.738 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.0128, allocations: 33.7 kB / 0.738 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.01285, allocations: 104.7 kB / 0.7381 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.0129, allocations: 48.97 kB / 0.7382 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.01295, allocations: 25.7 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01305, allocations: 334.8 kB / 0.7385 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.01309, allocations: 20.55 kB / 0.7385 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.226e-05/0.01312, allocations: 9.406 kB / 0.7386 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.633e-05/0.01322, allocations: 54.14 kB / 0.7386 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01322, allocations: 3.984 kB / 0.7386 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001376/0.01336, allocations: 92.78 kB / 0.7387 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01337, allocations: 6.969 kB / 0.7387 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.01338, allocations: 0 / 0.7387 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01339, allocations: 4 kB / 0.7387 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.01356, allocations: 31.97 kB / 0.7387 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.01356, allocations: 0 / 0.7387 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.01364, allocations: 19.88 kB / 0.7388 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.01365, allocations: 7.031 kB / 0.7388 GB, free: 10.96 MB / 0.7136 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 (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 prepare postOptimizeDAE: time 8.212e-05/0.01374, allocations: 116.6 kB / 0.7389 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.01377, allocations: 19.92 kB / 0.7389 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.01382, allocations: 33.8 kB / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01383, allocations: 0 / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.01383, allocations: 0 / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.01383, allocations: 3.984 kB / 0.7389 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.01401, allocations: 121.8 kB / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01401, allocations: 0.6562 kB / 0.739 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.01416, allocations: 40.58 kB / 0.7391 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.01421, allocations: 27.78 kB / 0.7391 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01422, allocations: 8.594 kB / 0.7391 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01423, allocations: 5.25 kB / 0.7391 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.01423, allocations: 0 / 0.7391 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01423, allocations: 0 / 0.7391 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.01442, allocations: 181.9 kB / 0.7393 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.01444, allocations: 7.938 kB / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.01455, allocations: 7.938 kB / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.01459, allocations: 19.97 kB / 0.7393 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01461, allocations: 4 kB / 0.7393 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.14e-05/0.01469, allocations: 84.62 kB / 0.7394 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01469, allocations: 3 kB / 0.7394 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002332/0.01492, allocations: 43.95 kB / 0.7395 GB, free: 10.21 MB / 0.7136 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.000155/0.01508, allocations: 88.34 kB / 0.7395 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01522, allocations: 58.66 kB / 0.7396 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.01523, allocations: 7.984 kB / 0.7396 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.547e-05/0.01531, allocations: 40.77 kB / 0.7396 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.01582, allocations: 0.6022 MB / 0.7402 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.01955, allocations: 410.4 kB / 0.7406 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.0196, allocations: 87.77 kB / 0.7407 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.929e-05/0.01969, allocations: 27.09 kB / 0.7407 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.0198, allocations: 87.34 kB / 0.7408 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/0.01981, allocations: 0 / 0.7408 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of Templates: time 0.00453/0.02434, allocations: 2.894 MB / 0.7436 GB, free: 5.926 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 4.760459342971444]