Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002059/0.002059, allocations: 78.72 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002885/0.002885, allocations: 166.9 kB / 22.46 MB, free: 5.371 MB / 14.72 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.527/1.527, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.797/2.797, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.613e-05, allocations: 6.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00351/0.003537, allocations: 2.074 MB / 0.953 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005243/0.00878, allocations: 3.654 MB / 0.9566 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.008903, allocations: 3.938 kB / 0.9566 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.009191, allocations: 67.44 kB / 0.9566 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.009588, allocations: 123 kB / 0.9568 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.01005, allocations: 191.4 kB / 0.9569 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.0105, allocations: 338.6 kB / 0.9573 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.01062, allocations: 36.91 kB / 0.9573 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.01094, allocations: 183.6 kB / 0.9575 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.01114, allocations: 115.7 kB / 0.9576 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.01119, allocations: 20 kB / 0.9576 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.01147, allocations: 135.6 kB / 0.9577 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.01155, allocations: 59.75 kB / 0.9578 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.01167, allocations: 83.75 kB / 0.9579 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.0122, allocations: 374.8 kB / 0.9582 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.0122, allocations: 0 / 0.9582 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01221, allocations: 4 kB / 0.9582 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.01221, allocations: 0 / 0.9582 GB, free: 4.086 MB / 0.8575 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.001405/0.01362, allocations: 0.5803 MB / 0.9588 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.01366, allocations: 11.97 kB / 0.9588 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.01513, allocations: 232.4 kB / 0.959 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008903/0.01603, allocations: 277.9 kB / 0.9593 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.01604, allocations: 4.562 kB / 0.9593 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.01608, allocations: 12.38 kB / 0.9593 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007644/0.01685, allocations: 231.6 kB / 0.9595 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01686, allocations: 0 / 0.9595 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.01688, allocations: 4 kB / 0.9595 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.01689, allocations: 4 kB / 0.9595 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.01803, allocations: 279.7 kB / 0.9598 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.01941, allocations: 0.4922 MB / 0.9603 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.02004, allocations: 158.4 kB / 0.9604 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.02065, allocations: 148.7 kB / 0.9606 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007297/0.02138, allocations: 103.9 kB / 0.9607 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.02141, allocations: 34.56 kB / 0.9607 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.02141, allocations: 0 / 0.9607 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.001946/0.02336, allocations: 488.8 kB / 0.9612 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.0234, allocations: 55.41 kB / 0.9612 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.02373, allocations: 288.5 kB / 0.9615 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.02376, allocations: 25.7 kB / 0.9615 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.02389, allocations: 148.1 kB / 0.9617 GB, free: 420 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.02395, allocations: 51.56 kB / 0.9617 GB, free: 368 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.02405, allocations: 37.69 kB / 0.9618 GB, free: 324 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.02424, allocations: 338.8 kB / 0.9621 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.02484, allocations: 147.9 kB / 0.9622 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.02542, allocations: 151.8 kB / 0.9624 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.02655, allocations: 292.5 kB / 0.9626 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02655, allocations: 0 / 0.9626 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001322/0.02788, allocations: 379 kB / 0.963 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.0279, allocations: 4 kB / 0.963 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.02791, allocations: 4 kB / 0.963 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.02793, allocations: 0 / 0.963 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000498/0.02842, allocations: 67.91 kB / 0.9631 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.02843, allocations: 4 kB / 0.9631 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.02881, allocations: 43.89 kB / 0.9631 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.02884, allocations: 4 kB / 0.9631 GB, free: 14.89 MB / 0.8731 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 (17): * Single equations (assignments): 17 * 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 0.0001744/0.02901, allocations: 145.7 kB / 0.9633 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.708e-05/0.02908, allocations: 27.81 kB / 0.9633 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.03042, allocations: 372.1 kB / 0.9637 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.03042, allocations: 4 kB / 0.9637 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.03043, allocations: 0 / 0.9637 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.03043, allocations: 4 kB / 0.9637 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.03075, allocations: 229 kB / 0.9639 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.03075, allocations: 0 / 0.9639 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.03117, allocations: 67.86 kB / 0.9639 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.03117, allocations: 0 / 0.9639 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.0312, allocations: 3.984 kB / 0.9639 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.0312, allocations: 4 kB / 0.9639 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.0312, allocations: 0 / 0.9639 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.03253, allocations: 451.1 kB / 0.9644 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.03266, allocations: 47.81 kB / 0.9644 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.03271, allocations: 0 / 0.9644 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.03308, allocations: 35.89 kB / 0.9645 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.03318, allocations: 19.97 kB / 0.9645 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/0.0332, allocations: 7.984 kB / 0.9645 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000208/0.03341, allocations: 199 kB / 0.9647 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.03341, allocations: 0 / 0.9647 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003898/0.0338, allocations: 83.75 kB / 0.9648 GB, free: 13.17 MB / 0.8731 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.0002806/0.03408, allocations: 131.1 kB / 0.9649 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.03533, allocations: 319.6 kB / 0.9652 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.03533, allocations: 0 / 0.9652 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/0.03599, allocations: 155.9 kB / 0.9653 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.0364, allocations: 41 kB / 0.9654 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.03756, allocations: 499.8 kB / 0.9658 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.03771, allocations: 146.3 kB / 0.966 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002118/0.03792, allocations: 49.44 kB / 0.966 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.03804, allocations: 32.48 kB / 0.9661 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of SimCode: time 7.61e-07/0.03804, allocations: 0 / 0.9661 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.008717/0.04676, allocations: 3.444 MB / 0.9694 GB, free: 8.379 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.205030966550112]