Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 185.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.628/2.628, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.89 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.907, allocations: 160.8 MB / 1.218 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004527/0.9115, allocations: 2.176 MB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.006087/0.9176, allocations: 3.85 MB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.9178, allocations: 1.5 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.9182, allocations: 65.45 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0005367/0.9187, allocations: 115.6 kB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.9193, allocations: 161.3 kB / 1.225 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.9198, allocations: 308.7 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.92, allocations: 39.59 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.9204, allocations: 140.1 kB / 1.225 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.9207, allocations: 145.8 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.9207, allocations: 20.12 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003909/0.9211, allocations: 138.6 kB / 1.225 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.9212, allocations: 60.53 kB / 1.225 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.9214, allocations: 119.9 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.9221, allocations: 350.2 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.9221, allocations: 1.062 kB / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.213e-06/0.9221, allocations: 0 / 1.226 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.9221, allocations: 0 / 1.226 GB, free: 13.78 MB / 0.9356 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.001534/0.9237, allocations: 0.6332 MB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.9237, allocations: 9.594 kB / 1.227 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009847/0.9247, allocations: 177 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008346/0.9255, allocations: 327.9 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.9256, allocations: 8.031 kB / 1.227 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.9256, allocations: 20 kB / 1.227 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.9263, allocations: 219.8 kB / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.9263, allocations: 1.375 kB / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.9263, allocations: 0 / 1.227 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.9263, allocations: 6.406 kB / 1.227 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009487/0.9272, allocations: 285.3 kB / 1.228 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.9287, allocations: 0.573 MB / 1.228 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005676/0.9293, allocations: 166.1 kB / 1.228 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.9297, allocations: 143 kB / 1.228 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/0.9307, allocations: 0.5528 MB / 1.229 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.9307, allocations: 31.88 kB / 1.229 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.9307, allocations: 3.938 kB / 1.229 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001639/0.9324, allocations: 487.7 kB / 1.229 GB, free: 11 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.9324, allocations: 54.06 kB / 1.23 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.9327, allocations: 266.9 kB / 1.23 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.9327, allocations: 31.23 kB / 1.23 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.9329, allocations: 151.9 kB / 1.23 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/0.9329, allocations: 48.09 kB / 1.23 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/0.933, allocations: 43.53 kB / 1.23 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9332, allocations: 336.4 kB / 1.23 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.9337, allocations: 151.1 kB / 1.23 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.9342, allocations: 148.1 kB / 1.231 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009569/0.9351, allocations: 287.6 kB / 1.231 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9351, allocations: 3.938 kB / 1.231 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001095/0.9362, allocations: 376.1 kB / 1.231 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9362, allocations: 4.656 kB / 1.231 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.9362, allocations: 0 / 1.231 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9363, allocations: 5.125 kB / 1.231 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004501/0.9367, allocations: 70.33 kB / 1.231 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9367, allocations: 1.125 kB / 1.231 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.9371, allocations: 49.14 kB / 1.231 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.9371, allocations: 4.438 kB / 1.231 GB, free: 9.617 MB / 0.9356 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.0001659/0.9373, allocations: 143 kB / 1.232 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.9373, allocations: 24.11 kB / 1.232 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.9385, allocations: 381 kB / 1.232 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9385, allocations: 0 / 1.232 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.9385, allocations: 4 kB / 1.232 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.9385, allocations: 11.92 kB / 1.232 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003995/0.9389, allocations: 293.4 kB / 1.232 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9389, allocations: 4 kB / 1.232 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.9393, allocations: 55.92 kB / 1.232 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.9393, allocations: 3.938 kB / 1.232 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.9393, allocations: 11.98 kB / 1.232 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9393, allocations: 0 / 1.232 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9393, allocations: 4 kB / 1.232 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.9405, allocations: 447 kB / 1.233 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.9406, allocations: 116.9 kB / 1.233 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.9407, allocations: 4 kB / 1.233 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.941, allocations: 35.95 kB / 1.233 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.9411, allocations: 19.97 kB / 1.233 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.9411, allocations: 11.92 kB / 1.233 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001808/0.9413, allocations: 187.1 kB / 1.233 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9413, allocations: 0 / 1.233 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003765/0.9416, allocations: 75.77 kB / 1.233 GB, free: 7.793 MB / 0.9356 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.0002287/0.9419, allocations: 142.9 kB / 1.233 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.943, allocations: 311.7 kB / 1.234 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.943, allocations: 0 / 1.234 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.9435, allocations: 155.8 kB / 1.234 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.9439, allocations: 32.62 kB / 1.234 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.945, allocations: 0.5119 MB / 1.234 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.9454, allocations: 0.7396 MB / 1.235 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002055/0.9456, allocations: 53.38 kB / 1.235 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.9457, allocations: 19.42 kB / 1.235 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.9457, allocations: 0 / 1.235 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of Templates: time 0.007448/0.9532, allocations: 3.405 MB / 1.238 GB, free: 2.41 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.114741330966353]