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.001563/0.001563, allocations: 120.4 kB / 17.13 MB, free: 5.758 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.001566/0.001566, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.466/1.466, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001979/0.001979, allocations: 60.14 kB / 1.057 GB, free: 2.098 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3351, allocations: 160.7 MB / 1.214 GB, free: 1.059 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003536/0.3387, allocations: 2.156 MB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.3437, allocations: 3.821 MB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3439, allocations: 8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.3442, allocations: 63.48 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.3446, allocations: 119.1 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.345, allocations: 151.6 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.3454, allocations: 318.8 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3456, allocations: 40.59 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.3458, allocations: 131.5 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.346, allocations: 151.3 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.3461, allocations: 20 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.3463, allocations: 139.8 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.3464, allocations: 47.83 kB / 1.221 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3465, allocations: 127.2 kB / 1.221 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.347, allocations: 338.6 kB / 1.221 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.347, allocations: 4 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.347, allocations: 0 / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.347, allocations: 0 / 1.221 GB, free: 9.41 MB / 0.9669 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.001362/0.3484, allocations: 0.646 MB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3484, allocations: 8.031 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009902/0.3494, allocations: 172.6 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/0.3502, allocations: 320.5 kB / 1.223 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3502, allocations: 8.562 kB / 1.223 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.3502, allocations: 15.94 kB / 1.223 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.3509, allocations: 221.5 kB / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.3509, allocations: 0 / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.351, allocations: 0 / 1.223 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.351, allocations: 8 kB / 1.223 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.352, allocations: 279.7 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.3534, allocations: 0.5823 MB / 1.224 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.354, allocations: 170.4 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.3545, allocations: 148.6 kB / 1.224 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009277/0.3554, allocations: 0.5493 MB / 1.225 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3554, allocations: 34.56 kB / 1.225 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.3554, allocations: 4 kB / 1.225 GB, free: 6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.001794/0.3572, allocations: 477.2 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.3573, allocations: 59.39 kB / 1.225 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3576, allocations: 260.5 kB / 1.225 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.3576, allocations: 33.7 kB / 1.225 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3577, allocations: 156 kB / 1.225 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.3578, allocations: 39.64 kB / 1.226 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3579, allocations: 49.53 kB / 1.226 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.358, allocations: 338.8 kB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.3586, allocations: 147.9 kB / 1.226 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.3591, allocations: 145.9 kB / 1.226 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3601, allocations: 294.4 kB / 1.226 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3602, allocations: 0 / 1.226 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001224/0.3614, allocations: 369.1 kB / 1.227 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3614, allocations: 8 kB / 1.227 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3614, allocations: 0 / 1.227 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3614, allocations: 0 / 1.227 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.3619, allocations: 71.86 kB / 1.227 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3619, allocations: 0 / 1.227 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.3622, allocations: 51.77 kB / 1.227 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.97e-05/0.3623, allocations: 7.984 kB / 1.227 GB, free: 3.484 MB / 0.9669 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.0001563/0.3624, allocations: 133.8 kB / 1.227 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.3625, allocations: 27.8 kB / 1.227 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.3637, allocations: 371.3 kB / 1.227 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3637, allocations: 3.984 kB / 1.227 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.3638, allocations: 8 kB / 1.227 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3638, allocations: 3.938 kB / 1.227 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.3642, allocations: 309.3 kB / 1.228 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3642, allocations: 0 / 1.228 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3646, allocations: 55.92 kB / 1.228 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.3646, allocations: 0 / 1.228 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3646, allocations: 15.92 kB / 1.228 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3646, allocations: 0 / 1.228 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3646, allocations: 4 kB / 1.228 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3658, allocations: 451 kB / 1.228 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.366, allocations: 120.9 kB / 1.228 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.366, allocations: 8 kB / 1.228 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.3664, allocations: 35.95 kB / 1.228 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.3664, allocations: 15.97 kB / 1.228 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3665, allocations: 11.92 kB / 1.228 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001959/0.3667, allocations: 187.1 kB / 1.229 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3667, allocations: 0 / 1.229 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000372/0.367, allocations: 71.83 kB / 1.229 GB, free: 1.586 MB / 0.9669 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.000283/0.3673, allocations: 140.7 kB / 1.229 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.3685, allocations: 311.7 kB / 1.229 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3685, allocations: 0 / 1.229 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.3691, allocations: 151.8 kB / 1.229 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3695, allocations: 39.69 kB / 1.229 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3707, allocations: 0.5264 MB / 1.23 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.3711, allocations: 0.7435 MB / 1.231 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.3713, allocations: 27.41 kB / 1.231 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3713, allocations: 8 kB / 1.231 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.006809/0.3781, allocations: 3.741 MB / 1.234 GB, free: 11.87 MB / 0.9825 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.037379960063845]