Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.0009303/0.0009303, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002289, 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.0009345/0.0009345, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002167, 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 1.002/1.002, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09106/1.093, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.793/1.793, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.547/2.34, allocations: 123.3 MB / 0.7283 GB, free: 5.75 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.7296 GB, free: 4.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.563e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004634/0.004669, allocations: 2.142 MB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.009768, allocations: 4.211 MB / 0.7359 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.009949, allocations: 3.938 kB / 0.7359 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.01083, allocations: 193 kB / 0.736 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001715/0.011, allocations: 65.44 kB / 0.7361 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.01186, allocations: 277.4 kB / 0.7364 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006915/0.01255, allocations: 392.7 kB / 0.7367 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.01268, allocations: 35.88 kB / 0.7368 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.01298, allocations: 206.7 kB / 0.737 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.01312, allocations: 96.95 kB / 0.7371 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.01315, allocations: 16 kB / 0.7371 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.01378, allocations: 336.7 kB / 0.7374 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.0139, allocations: 95.7 kB / 0.7375 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.01399, allocations: 71.81 kB / 0.7376 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.01459, allocations: 434.5 kB / 0.738 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.0146, allocations: 0.9062 kB / 0.738 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/0.01461, allocations: 0 / 0.738 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.632e-05/0.01462, allocations: 0.5312 kB / 0.738 GB, free: 11.94 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001058/0.01568, allocations: 0.7121 MB / 0.7387 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01572, allocations: 9.25 kB / 0.7387 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003173/0.01604, allocations: 146 kB / 0.7388 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.01635, allocations: 245.3 kB / 0.7391 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.01637, allocations: 12.36 kB / 0.7391 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.01639, allocations: 5.125 kB / 0.7391 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.01665, allocations: 129.8 kB / 0.7392 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.01666, allocations: 4.188 kB / 0.7392 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.01667, allocations: 8.125 kB / 0.7392 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.01668, allocations: 0 / 0.7392 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.889e-05/0.01677, allocations: 32.62 kB / 0.7392 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.01729, allocations: 301.3 kB / 0.7395 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.0174, allocations: 85.23 kB / 0.7396 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.01745, allocations: 20.86 kB / 0.7396 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.0175, allocations: 23.92 kB / 0.7397 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.01753, allocations: 34.56 kB / 0.7397 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.465e-06/0.01753, allocations: 2.938 kB / 0.7397 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0002354/0.01777, allocations: 93.64 kB / 0.7398 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.0178, allocations: 59.39 kB / 0.7398 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.01804, allocations: 339.5 kB / 0.7402 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.01807, allocations: 25.7 kB / 0.7402 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.01814, allocations: 144.9 kB / 0.7403 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.01817, allocations: 35.86 kB / 0.7404 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.01824, allocations: 50.22 kB / 0.7404 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.01835, allocations: 354.7 kB / 0.7407 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.01844, allocations: 61.86 kB / 0.7408 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6e-05/0.0185, allocations: 73.56 kB / 0.7409 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.01862, allocations: 109.3 kB / 0.741 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01862, allocations: 0 / 0.741 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001969/0.01882, allocations: 190.2 kB / 0.7412 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.01888, allocations: 46.56 kB / 0.7412 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01888, allocations: 0 / 0.7412 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.0189, allocations: 0 / 0.7412 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.01908, allocations: 47.88 kB / 0.7412 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.01908, allocations: 3.984 kB / 0.7413 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.01918, allocations: 30.91 kB / 0.7413 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01919, allocations: 7.984 kB / 0.7413 GB, free: 8.355 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 (12): * Single equations (assignments): 11 * 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.0001018/0.01929, allocations: 120.7 kB / 0.7414 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01933, allocations: 19.92 kB / 0.7414 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.01954, allocations: 126.3 kB / 0.7415 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01954, allocations: 3.938 kB / 0.7415 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01954, allocations: 0 / 0.7415 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01954, allocations: 0 / 0.7415 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.01974, allocations: 155 kB / 0.7417 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01975, allocations: 0 / 0.7417 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.01987, allocations: 39.95 kB / 0.7417 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.01994, allocations: 52.28 kB / 0.7418 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01994, allocations: 0 / 0.7418 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01995, allocations: 4.562 kB / 0.7418 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01996, allocations: 0.7188 kB / 0.7418 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01996, allocations: 0 / 0.7418 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.02016, allocations: 235.6 kB / 0.742 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.02018, allocations: 0 / 0.742 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.02028, allocations: 25.03 kB / 0.742 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.02034, allocations: 15.92 kB / 0.7421 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.02035, allocations: 9.484 kB / 0.7421 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00012/0.02047, allocations: 148.7 kB / 0.7422 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.02047, allocations: 0 / 0.7422 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003735/0.02084, allocations: 115.8 kB / 0.7423 GB, free: 7.258 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 (11): * Single equations (assignments): 11 * 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.0003156/0.02116, allocations: 173.1 kB / 0.7425 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002597/0.02142, allocations: 202.5 kB / 0.7427 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/0.02143, allocations: 4.594 kB / 0.7427 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.02151, allocations: 45.42 kB / 0.7427 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.02204, allocations: 0.6409 MB / 0.7433 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.02593, allocations: 0.5655 MB / 0.7439 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.188e-05/0.02599, allocations: 103.9 kB / 0.744 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.02609, allocations: 32.08 kB / 0.744 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.02625, allocations: 107.3 kB / 0.7441 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/0.02625, allocations: 0 / 0.7441 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of Templates: time 0.007489/0.03374, allocations: 5.527 MB / 0.7495 GB, free: 15.89 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.008125775493681]