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.001589/0.001589, allocations: 111.9 kB / 17.08 MB, free: 5.961 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.001635/0.001635, allocations: 191.7 kB / 20.03 MB, free: 3.039 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.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.207 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.726/2.726, allocations: 437.1 MB / 0.7177 GB, free: 4.758 MB / 0.5606 GB " [Timeout remaining time 177] 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.002123/0.002123, allocations: 67.91 kB / 1.028 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3131, allocations: 151.6 MB / 1.176 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003745/0.3169, allocations: 2.155 MB / 1.178 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005322/0.3222, allocations: 3.794 MB / 1.182 GB, free: 56 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3224, allocations: 4 kB / 1.182 GB, free: 52 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.3228, allocations: 59.61 kB / 1.182 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004746/0.3233, allocations: 127 kB / 1.182 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.3238, allocations: 151.6 kB / 1.182 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.3243, allocations: 310.9 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3245, allocations: 56.58 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.3248, allocations: 131.5 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3252, allocations: 155.3 kB / 1.183 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.3252, allocations: 20 kB / 1.183 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003075/0.3255, allocations: 131.8 kB / 1.183 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.3256, allocations: 63.8 kB / 1.183 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3258, allocations: 115.3 kB / 1.183 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004794/0.3263, allocations: 342.6 kB / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3263, allocations: 0 / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3263, allocations: 0 / 1.183 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3263, allocations: 0 / 1.183 GB, free: 14.41 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.001271/0.3276, allocations: 0.6422 MB / 1.184 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3276, allocations: 8.031 kB / 1.184 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009545/0.3286, allocations: 184.5 kB / 1.184 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.3294, allocations: 320.5 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3294, allocations: 12.56 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.3295, allocations: 15.94 kB / 1.184 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000702/0.3302, allocations: 217.5 kB / 1.185 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3302, allocations: 3.984 kB / 1.185 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3302, allocations: 15.94 kB / 1.185 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.3302, allocations: 0 / 1.185 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3313, allocations: 283.6 kB / 1.185 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3327, allocations: 0.5746 MB / 1.185 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.3333, allocations: 178.4 kB / 1.186 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005388/0.3339, allocations: 152.7 kB / 1.186 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009169/0.3348, allocations: 0.5493 MB / 1.186 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3348, allocations: 34.56 kB / 1.186 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.3348, allocations: 8 kB / 1.186 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.001778/0.3366, allocations: 473.2 kB / 1.187 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.3367, allocations: 55.41 kB / 1.187 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.337, allocations: 264.6 kB / 1.187 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.337, allocations: 29.7 kB / 1.187 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3372, allocations: 159.9 kB / 1.187 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.3372, allocations: 39.64 kB / 1.187 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3373, allocations: 41.69 kB / 1.187 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3375, allocations: 338.8 kB / 1.188 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.3381, allocations: 151.8 kB / 1.188 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005448/0.3386, allocations: 150 kB / 1.188 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.3397, allocations: 287.4 kB / 1.188 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3397, allocations: 0 / 1.188 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00124/0.341, allocations: 373.1 kB / 1.189 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.341, allocations: 8 kB / 1.189 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.341, allocations: 0 / 1.189 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.341, allocations: 4 kB / 1.189 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004699/0.3415, allocations: 67.86 kB / 1.189 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3415, allocations: 0 / 1.189 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.3419, allocations: 51.77 kB / 1.189 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.3419, allocations: 8 kB / 1.189 GB, free: 8.461 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.0001606/0.3421, allocations: 133.8 kB / 1.189 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.3422, allocations: 23.86 kB / 1.189 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3436, allocations: 379.2 kB / 1.189 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3436, allocations: 4 kB / 1.189 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.3436, allocations: 8 kB / 1.189 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3436, allocations: 7.922 kB / 1.189 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.344, allocations: 305.4 kB / 1.19 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.344, allocations: 0 / 1.19 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.3444, allocations: 55.92 kB / 1.19 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3445, allocations: 0 / 1.19 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.3445, allocations: 11.98 kB / 1.19 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3445, allocations: 3.938 kB / 1.19 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.3445, allocations: 0 / 1.19 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3458, allocations: 458.6 kB / 1.19 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3459, allocations: 116.9 kB / 1.19 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.346, allocations: 8 kB / 1.19 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.3463, allocations: 35.95 kB / 1.19 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.3464, allocations: 15.97 kB / 1.19 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.3464, allocations: 7.938 kB / 1.19 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002028/0.3466, allocations: 191.1 kB / 1.19 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3466, allocations: 0 / 1.19 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003709/0.347, allocations: 71.83 kB / 1.19 GB, free: 6.562 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.0002612/0.3473, allocations: 139 kB / 1.191 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.3485, allocations: 319.7 kB / 1.191 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3485, allocations: 0 / 1.191 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000589/0.3491, allocations: 163.8 kB / 1.191 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.3496, allocations: 30.88 kB / 1.191 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3507, allocations: 0.5186 MB / 1.192 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3511, allocations: 0.7512 MB / 1.192 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3513, allocations: 35.41 kB / 1.192 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.3513, allocations: 0 / 1.192 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of Templates: time 0.007185/0.3585, allocations: 3.737 MB / 1.196 GB, free: 0.8438 MB / 0.9356 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: 10.61311159399338]