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.001631/0.001631, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001907/0.001907, allocations: 209.5 kB / 23.03 MB, free: 4.867 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.504/1.504, allocations: 230.6 MB / 256.8 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.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002008/0.002008, allocations: 73.98 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003868/0.4065, allocations: 2.092 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006026/0.4125, allocations: 3.931 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.4126, allocations: 7.938 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008838/0.4135, allocations: 175.1 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.4137, allocations: 75.34 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/0.4146, allocations: 342.4 kB / 1.334 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007646/0.4154, allocations: 450.6 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4155, allocations: 40.91 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.4157, allocations: 139.5 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.4159, allocations: 151.3 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.416, allocations: 20 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.4166, allocations: 331.5 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.4167, allocations: 115.6 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.4169, allocations: 135.2 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.4177, allocations: 0.5954 MB / 1.336 GB, free: 8.344 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4177, allocations: 4 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4177, allocations: 0 / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4177, allocations: 0 / 1.336 GB, free: 8.34 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.001531/0.4192, allocations: 0.7469 MB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.4193, allocations: 12.03 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.4206, allocations: 236.4 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.4216, allocations: 348.7 kB / 1.337 GB, free: 6.949 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4216, allocations: 12.56 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4216, allocations: 11.94 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/0.4224, allocations: 249.4 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4224, allocations: 0 / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.4224, allocations: 4 kB / 1.337 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4224, allocations: 3.938 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.4235, allocations: 337.2 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.4249, allocations: 0.5859 MB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.4255, allocations: 214.4 kB / 1.338 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/0.4261, allocations: 176.7 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.4262, allocations: 19.98 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4262, allocations: 34.56 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 4.007e-06/0.4262, allocations: 3.984 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.001773/0.428, allocations: 0.5714 MB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.428, allocations: 55.41 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.4285, allocations: 445.9 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.4286, allocations: 33.7 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.4288, allocations: 196.5 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.4288, allocations: 47.59 kB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4289, allocations: 49.69 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4291, allocations: 358.7 kB / 1.34 GB, free: 3.473 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.4298, allocations: 337.7 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.4305, allocations: 334.7 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.4317, allocations: 0.5199 MB / 1.341 GB, free: 2.277 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4317, allocations: 4 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001557/0.4333, allocations: 0.7625 MB / 1.342 GB, free: 1.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.4334, allocations: 41.69 kB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4334, allocations: 0 / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4334, allocations: 0 / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.4338, allocations: 71.91 kB / 1.342 GB, free: 1.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4338, allocations: 4 kB / 1.342 GB, free: 1.371 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.4342, allocations: 51.73 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.4342, allocations: 11.98 kB / 1.342 GB, free: 1.309 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.0002007/0.4344, allocations: 166.2 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.4345, allocations: 39.72 kB / 1.342 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4358, allocations: 448.8 kB / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4358, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4358, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4358, allocations: 0 / 1.343 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.4362, allocations: 281.1 kB / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4362, allocations: 0 / 1.343 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.4366, allocations: 67.8 kB / 1.343 GB, free: 288 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.4366, allocations: 7.984 kB / 1.343 GB, free: 280 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4367, allocations: 4 kB / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4367, allocations: 0 / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4367, allocations: 0 / 1.343 GB, free: 276 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.4379, allocations: 0.4951 MB / 1.344 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.438, allocations: 67.61 kB / 1.344 GB, free: 15.69 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.4381, allocations: 4 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.4384, allocations: 43.89 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.4385, allocations: 15.97 kB / 1.344 GB, free: 15.62 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.4385, allocations: 11.98 kB / 1.344 GB, free: 15.61 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003602/0.4389, allocations: 315 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4389, allocations: 0 / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005003/0.4394, allocations: 127.8 kB / 1.344 GB, free: 15.18 MB / 1.045 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.0003583/0.4398, allocations: 171 kB / 1.344 GB, free: 15.01 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001481/0.4412, allocations: 0.6379 MB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4412, allocations: 0 / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.4418, allocations: 181.8 kB / 1.345 GB, free: 14.18 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4423, allocations: 52.11 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4437, allocations: 0.7558 MB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.444, allocations: 187.5 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.4441, allocations: 35.41 kB / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/0.4441, allocations: 0 / 1.346 GB, free: 13.1 MB / 1.045 GB Notification: Performance of Templates: time 0.009461/0.4536, allocations: 5.805 MB / 1.352 GB, free: 7.324 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/jenkins1/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: 12.093424737919122]