Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001328/0.001328, allocations: 113.7 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.001326/0.001326, allocations: 193.2 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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.188 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.715/2.715, allocations: 437.1 MB / 0.7177 GB, free: 4.512 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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 63.91 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003311/0.3388, allocations: 1.923 MB / 1.178 GB, free: 3.93 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004457/0.3433, allocations: 3.455 MB / 1.181 GB, free: 468 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.3434, allocations: 4 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3437, allocations: 51.62 kB / 1.181 GB, free: 412 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004602/0.3442, allocations: 127.3 kB / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.436e-05/0.3443, allocations: 27.91 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.3445, allocations: 179.2 kB / 1.181 GB, free: 76 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3447, allocations: 29.67 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3449, allocations: 91.61 kB / 1.182 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3451, allocations: 83.61 kB / 1.182 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.3451, allocations: 8 kB / 1.182 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3453, allocations: 35.92 kB / 1.182 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.3453, allocations: 35.84 kB / 1.182 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3454, allocations: 79.53 kB / 1.182 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.3457, allocations: 179 kB / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3457, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3457, allocations: 0 / 1.182 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3457, allocations: 0 / 1.182 GB, free: 15.54 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009426/0.3467, allocations: 0.5139 MB / 1.182 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3467, allocations: 8.031 kB / 1.182 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.093e-05/0.3468, allocations: 16.84 kB / 1.183 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3472, allocations: 247 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-06/0.3472, allocations: 4.375 kB / 1.183 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3472, allocations: 8.375 kB / 1.183 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.3476, allocations: 153.6 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.3476, allocations: 0 / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3476, allocations: 0 / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3476, allocations: 12 kB / 1.183 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.3481, allocations: 139.9 kB / 1.183 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.3489, allocations: 464.4 kB / 1.183 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.3493, allocations: 170.5 kB / 1.184 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.3496, allocations: 104.8 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.3496, allocations: 0 / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3497, allocations: 34.56 kB / 1.184 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3497, allocations: 0 / 1.184 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0009036/0.3506, allocations: 293.6 kB / 1.184 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.3506, allocations: 51.41 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.3509, allocations: 217 kB / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3509, allocations: 33.7 kB / 1.184 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.569e-05/0.351, allocations: 120.1 kB / 1.184 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.3511, allocations: 51.62 kB / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.3511, allocations: 25.7 kB / 1.185 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3513, allocations: 330.8 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.3515, allocations: 75.92 kB / 1.185 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.3518, allocations: 83.44 kB / 1.185 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.3523, allocations: 164.7 kB / 1.185 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3523, allocations: 0 / 1.185 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005596/0.3529, allocations: 221.4 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3529, allocations: 4 kB / 1.185 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3529, allocations: 4 kB / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.3529, allocations: 0 / 1.185 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.3532, allocations: 35.91 kB / 1.185 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3532, allocations: 4 kB / 1.185 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.3534, allocations: 19.92 kB / 1.185 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3534, allocations: 7.984 kB / 1.185 GB, free: 11.77 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 (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 prepare postOptimizeDAE: time 0.0001159/0.3535, allocations: 129.7 kB / 1.186 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.3536, allocations: 19.86 kB / 1.186 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.899e-05/0.3537, allocations: 29.83 kB / 1.186 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3537, allocations: 4 kB / 1.186 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3537, allocations: 0 / 1.186 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3537, allocations: 4 kB / 1.186 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.354, allocations: 273.4 kB / 1.186 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.354, allocations: 0 / 1.186 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.3542, allocations: 31.97 kB / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3542, allocations: 3.984 kB / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3543, allocations: 11.98 kB / 1.186 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3543, allocations: 3.938 kB / 1.186 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3543, allocations: 0 / 1.186 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.3549, allocations: 315.2 kB / 1.186 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.355, allocations: 116.9 kB / 1.186 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.3551, allocations: 4 kB / 1.186 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.3553, allocations: 15.98 kB / 1.186 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.3553, allocations: 15.98 kB / 1.186 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3554, allocations: 4 kB / 1.186 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001506/0.3555, allocations: 160.5 kB / 1.187 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3555, allocations: 0 / 1.187 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002813/0.3558, allocations: 35.94 kB / 1.187 GB, free: 10.52 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.0001651/0.356, allocations: 107.2 kB / 1.187 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.3566, allocations: 183.3 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3566, allocations: 0 / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/0.3568, allocations: 95.86 kB / 1.187 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3573, allocations: 30.48 kB / 1.187 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008866/0.3582, allocations: 448.1 kB / 1.187 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3586, allocations: 0.7275 MB / 1.188 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.3587, allocations: 27.42 kB / 1.188 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3587, allocations: 3.938 kB / 1.188 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of Templates: time 0.004648/0.3633, allocations: 2.327 MB / 1.19 GB, free: 6.535 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.579541154904291]