Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001342/0.001342, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001398/0.001398, allocations: 199.8 kB / 22.17 MB, free: 5.207 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.426/1.426, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7168/0.7189, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003502/0.7224, allocations: 1.932 MB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004882/0.7273, allocations: 3.505 MB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.7275, allocations: 7.938 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.7278, allocations: 47.69 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005513/0.7283, allocations: 143.2 kB / 1.28 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 9.508e-05/0.7284, allocations: 19.97 kB / 1.28 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.7287, allocations: 183.2 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.7288, allocations: 13.69 kB / 1.28 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.7291, allocations: 99.61 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.7293, allocations: 79.67 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.7293, allocations: 15.94 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.976e-05/0.7294, allocations: 23.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-05/0.7295, allocations: 35.84 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.7296, allocations: 87.41 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.7299, allocations: 163.2 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7299, allocations: 3.938 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7299, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.7299, allocations: 8 kB / 1.28 GB, free: 14.22 MB / 0.9825 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.001105/0.731, allocations: 0.5061 MB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.731, allocations: 8.031 kB / 1.281 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.7311, allocations: 24.8 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.7315, allocations: 247 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7315, allocations: 8.375 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.7316, allocations: 4.375 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.732, allocations: 141.7 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.732, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.732, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.732, allocations: 11.91 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.7325, allocations: 151.8 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008457/0.7333, allocations: 448.5 kB / 1.282 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.7338, allocations: 163.7 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.7341, allocations: 100.8 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.7341, allocations: 3.938 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.7342, allocations: 42.5 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.7342, allocations: 4 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0009303/0.7351, allocations: 287.4 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.7351, allocations: 55.41 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.7354, allocations: 217 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.7354, allocations: 37.64 kB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.7355, allocations: 116.1 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.7356, allocations: 51.56 kB / 1.283 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.7357, allocations: 25.7 kB / 1.283 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7358, allocations: 338.8 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.7361, allocations: 79.94 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.7363, allocations: 71.94 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.7368, allocations: 167.9 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7368, allocations: 4 kB / 1.283 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006565/0.7375, allocations: 217.4 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7375, allocations: 4 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7375, allocations: 0 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7375, allocations: 3.984 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.7378, allocations: 39.97 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.7378, allocations: 3.938 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.7379, allocations: 23.92 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.738, allocations: 4 kB / 1.284 GB, free: 10.45 MB / 0.9825 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.0001281/0.7381, allocations: 125.8 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.7381, allocations: 23.89 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.7382, allocations: 25.84 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.7382, allocations: 4 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7382, allocations: 0 / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.7382, allocations: 3.984 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.7385, allocations: 269.4 kB / 1.284 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7386, allocations: 0 / 1.284 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.7388, allocations: 31.97 kB / 1.284 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.7388, allocations: 4 kB / 1.284 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.7388, allocations: 11.92 kB / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7388, allocations: 0 / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7388, allocations: 0 / 1.284 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.7394, allocations: 315.3 kB / 1.284 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.7396, allocations: 116.9 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.7396, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.7398, allocations: 15.98 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.7398, allocations: 11.98 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.7399, allocations: 7.984 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001459/0.74, allocations: 164.4 kB / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.74, allocations: 0 / 1.285 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002787/0.7403, allocations: 35.94 kB / 1.285 GB, free: 9.219 MB / 0.9825 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.0001772/0.7405, allocations: 115.6 kB / 1.285 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005779/0.741, allocations: 167.9 kB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.741, allocations: 0 / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.7413, allocations: 91.88 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.7417, allocations: 33.66 kB / 1.285 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.7426, allocations: 434.4 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.743, allocations: 0.7275 MB / 1.286 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.7432, allocations: 44.61 kB / 1.286 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.7432, allocations: 19.42 kB / 1.286 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.7432, allocations: 4 kB / 1.286 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of Templates: time 0.005319/0.7485, allocations: 1.891 MB / 1.288 GB, free: 5.668 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.264890332240611]