Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001493/0.001493, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002423/0.002423, allocations: 214.4 kB / 22.25 MB, free: 5.262 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.594/3.594, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 64.88 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003788/0.4131, allocations: 2.097 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.4191, allocations: 3.923 MB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.4192, allocations: 7.875 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008845/0.4201, allocations: 175.1 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.4203, allocations: 83.28 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.4211, allocations: 338.2 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007386/0.4219, allocations: 450.6 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.422, allocations: 44.8 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.4222, allocations: 139.5 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.4224, allocations: 151.3 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.4225, allocations: 20 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.4231, allocations: 331.5 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.4232, allocations: 119.6 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.4234, allocations: 143.1 kB / 1.333 GB, free: 9.836 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007801/0.4242, allocations: 0.5837 MB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4242, allocations: 0 / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4242, allocations: 3.938 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.4242, allocations: 0 / 1.334 GB, free: 9.246 MB / 1.029 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.001552/0.4258, allocations: 0.7509 MB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4258, allocations: 8.031 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.4272, allocations: 240.4 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.4282, allocations: 356.6 kB / 1.335 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4282, allocations: 8.562 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.4282, allocations: 11.94 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007786/0.429, allocations: 250.9 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.429, allocations: 0 / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.4291, allocations: 4 kB / 1.335 GB, free: 7.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4291, allocations: 4 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.4301, allocations: 335.6 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.4316, allocations: 0.5782 MB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.4323, allocations: 214.4 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.4328, allocations: 172.7 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.4328, allocations: 15.98 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4329, allocations: 42.5 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.934e-06/0.4329, allocations: 0 / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001826/0.4347, allocations: 0.5637 MB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4348, allocations: 55.41 kB / 1.337 GB, free: 5.535 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.4353, allocations: 449.9 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.4353, allocations: 29.7 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.4355, allocations: 192.5 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.4356, allocations: 43.59 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4357, allocations: 53.69 kB / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.4359, allocations: 362.7 kB / 1.338 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007451/0.4366, allocations: 333.7 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.4373, allocations: 341.9 kB / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.4386, allocations: 0.5157 MB / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4386, allocations: 0 / 1.34 GB, free: 3.191 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001615/0.4402, allocations: 0.7587 MB / 1.34 GB, free: 2.414 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.4403, allocations: 49.69 kB / 1.34 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4403, allocations: 0 / 1.34 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4403, allocations: 0 / 1.34 GB, free: 2.359 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.4408, allocations: 75.78 kB / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4408, allocations: 0 / 1.34 GB, free: 2.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.4411, allocations: 59.73 kB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.4412, allocations: 11.92 kB / 1.341 GB, free: 2.215 MB / 1.029 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 0.0002122/0.4414, allocations: 166.3 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.4415, allocations: 39.72 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.4428, allocations: 447.9 kB / 1.341 GB, free: 1.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4428, allocations: 4 kB / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4428, allocations: 0 / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4428, allocations: 0 / 1.341 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.4432, allocations: 281.1 kB / 1.341 GB, free: 1.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4432, allocations: 4 kB / 1.341 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.4436, allocations: 59.91 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4436, allocations: 0 / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.4436, allocations: 12 kB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4436, allocations: 0 / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4436, allocations: 0 / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.4448, allocations: 0.5028 MB / 1.342 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.445, allocations: 67.61 kB / 1.342 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.445, allocations: 0 / 1.342 GB, free: 0.5938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.4454, allocations: 35.95 kB / 1.342 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4455, allocations: 19.97 kB / 1.342 GB, free: 0.5391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.4455, allocations: 7.984 kB / 1.342 GB, free: 0.5312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003541/0.4459, allocations: 311.1 kB / 1.342 GB, free: 240 kB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4459, allocations: 0 / 1.342 GB, free: 240 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005215/0.4464, allocations: 131.8 kB / 1.343 GB, free: 108 kB / 1.029 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.0003878/0.4468, allocations: 179 kB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.4483, allocations: 0.6295 MB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4483, allocations: 4 kB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.4488, allocations: 179.8 kB / 1.344 GB, free: 15.09 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.4493, allocations: 58.48 kB / 1.344 GB, free: 15.04 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.4508, allocations: 0.7169 MB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.451, allocations: 191.5 kB / 1.344 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002476/0.4512, allocations: 61.89 kB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.4513, allocations: 35.42 kB / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.4513, allocations: 0 / 1.345 GB, free: 13.99 MB / 1.045 GB Notification: Performance of Templates: time 0.01195/0.4633, allocations: 6.16 MB / 1.351 GB, free: 7.91 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.898630686104298]