Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.0007852/0.0007852, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001835, 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.0006901/0.0006901, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009281/0.001618, 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.9134/0.9134, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08693/1, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.758/1.758, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4751/2.233, allocations: 123.3 MB / 0.7283 GB, free: 5.719 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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129e-05/1.271e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003027/0.00304, allocations: 1.964 MB / 0.7316 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004384/0.007424, allocations: 3.712 MB / 0.7352 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.708e-05/0.007511, allocations: 7.938 kB / 0.7352 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.008133, allocations: 161.2 kB / 0.7354 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001751/0.008308, allocations: 81.2 kB / 0.7354 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000113/0.008421, allocations: 59.8 kB / 0.7355 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.008885, allocations: 265 kB / 0.7357 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.008989, allocations: 26.38 kB / 0.7358 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.009198, allocations: 126.5 kB / 0.7359 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.009334, allocations: 68.61 kB / 0.736 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.009356, allocations: 4 kB / 0.736 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.009459, allocations: 32.7 kB / 0.736 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.908e-05/0.009528, allocations: 51.8 kB / 0.736 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.009591, allocations: 45.09 kB / 0.7361 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.009812, allocations: 139.3 kB / 0.7362 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.009822, allocations: 4 kB / 0.7362 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.009823, allocations: 0.6875 kB / 0.7362 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.009838, allocations: 0 / 0.7362 GB, free: 13.71 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.0007159/0.01055, allocations: 468.5 kB / 0.7367 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.0106, allocations: 8.031 kB / 0.7367 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.01092, allocations: 122.8 kB / 0.7368 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.01118, allocations: 187.4 kB / 0.737 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.01119, allocations: 12.31 kB / 0.737 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.01121, allocations: 384 / 0.737 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.01146, allocations: 99.05 kB / 0.7371 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.01147, allocations: 192 / 0.7371 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.01148, allocations: 8.125 kB / 0.7371 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.01153, allocations: 7.984 kB / 0.7371 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.01161, allocations: 24.2 kB / 0.7371 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.01207, allocations: 253.7 kB / 0.7374 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.01222, allocations: 67.8 kB / 0.7374 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.01229, allocations: 36.83 kB / 0.7375 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.01231, allocations: 5.031 kB / 0.7375 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.01234, allocations: 34.5 kB / 0.7375 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01235, allocations: 0.5312 kB / 0.7375 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.000235/0.01258, allocations: 99.06 kB / 0.7376 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.01262, allocations: 59.34 kB / 0.7376 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.01275, allocations: 225 kB / 0.7379 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.01277, allocations: 26.42 kB / 0.7379 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.01282, allocations: 116.5 kB / 0.738 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.01285, allocations: 38.84 kB / 0.738 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.01289, allocations: 29.69 kB / 0.7381 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.01299, allocations: 338.8 kB / 0.7384 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.504e-05/0.01301, allocations: 15.98 kB / 0.7384 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.01304, allocations: 8 kB / 0.7384 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.965e-05/0.01311, allocations: 49.77 kB / 0.7385 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01311, allocations: 0 / 0.7385 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001045/0.01321, allocations: 88.56 kB / 0.7385 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.01323, allocations: 8 kB / 0.7385 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01323, allocations: 0 / 0.7385 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01325, allocations: 0 / 0.7385 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.01338, allocations: 35.95 kB / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.01338, allocations: 0 / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.01344, allocations: 23.88 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.01345, allocations: 0.5 kB / 0.7386 GB, free: 11.11 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 7.594e-05/0.01353, allocations: 125.2 kB / 0.7387 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.01355, allocations: 17.33 kB / 0.7387 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.01359, allocations: 29.77 kB / 0.7388 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01359, allocations: 0 / 0.7388 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.0136, allocations: 0 / 0.7388 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.0136, allocations: 6.422 kB / 0.7388 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.01373, allocations: 117.8 kB / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01373, allocations: 0 / 0.7389 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.01382, allocations: 39.95 kB / 0.7389 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.01386, allocations: 23.8 kB / 0.7389 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01387, allocations: 7.922 kB / 0.739 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01388, allocations: 10.84 kB / 0.739 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01388, allocations: 0 / 0.739 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01388, allocations: 0 / 0.739 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.01403, allocations: 184.8 kB / 0.7391 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.01405, allocations: 8 kB / 0.7392 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.241e-05/0.01411, allocations: 11.94 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01416, allocations: 19.91 kB / 0.7392 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.01416, allocations: 0.7188 kB / 0.7392 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.01422, allocations: 78.77 kB / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01422, allocations: 1.25 kB / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001498/0.01437, allocations: 43.95 kB / 0.7393 GB, free: 10.37 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.000144/0.01451, allocations: 85.77 kB / 0.7394 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01463, allocations: 63.77 kB / 0.7394 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.01464, allocations: 3.984 kB / 0.7394 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.01469, allocations: 46.05 kB / 0.7395 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.0151, allocations: 0.5002 MB / 0.74 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.01776, allocations: 399.8 kB / 0.7404 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.321e-05/0.01782, allocations: 88.41 kB / 0.7404 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.841e-05/0.0179, allocations: 22.47 kB / 0.7405 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.01802, allocations: 89.72 kB / 0.7406 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of SimCode: time 1.492e-06/0.01803, allocations: 0 / 0.7406 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.00457/0.0226, allocations: 2.604 MB / 0.7431 GB, free: 6.492 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.666872661560774]