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.001397/0.001397, allocations: 109 kB / 17.54 MB, free: 4.781 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.001416/0.001416, allocations: 186 kB / 20.71 MB, free: 1.625 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.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] 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.481/2.481, allocations: 476.7 MB / 0.7628 GB, free: 15.34 MB / 0.6075 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.89 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7512/0.753, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002672/0.7556, allocations: 1.936 MB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.7587, allocations: 3.494 MB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.7588, allocations: 0.875 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.759, allocations: 65.39 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.7595, allocations: 132.5 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.812e-05/0.7595, allocations: 23.88 kB / 1.277 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.7598, allocations: 178.5 kB / 1.277 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.7599, allocations: 21.25 kB / 1.277 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.76, allocations: 82.14 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.7602, allocations: 90.27 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.7602, allocations: 9.188 kB / 1.277 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.7603, allocations: 32.58 kB / 1.277 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.924e-05/0.7604, allocations: 37.06 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.7605, allocations: 80.23 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.7608, allocations: 167.9 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.7608, allocations: 0 / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/0.7608, allocations: 0.5938 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.7608, allocations: 3.938 kB / 1.278 GB, free: 3.414 MB / 0.9981 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.0008949/0.7617, allocations: 0.5196 MB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.7617, allocations: 9.625 kB / 1.278 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.7618, allocations: 34.81 kB / 1.278 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.7618, allocations: 26.42 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.7622, allocations: 248.9 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.7622, allocations: 10.94 kB / 1.278 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.7622, allocations: 6.906 kB / 1.278 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.7626, allocations: 147.3 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7626, allocations: 0 / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.7626, allocations: 0.6562 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.7626, allocations: 10.16 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.7631, allocations: 149 kB / 1.279 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.7638, allocations: 446.5 kB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.7642, allocations: 163.6 kB / 1.279 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.7644, allocations: 99.38 kB / 1.279 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.7645, allocations: 5.016 kB / 1.279 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.7645, allocations: 40.25 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.7645, allocations: 4 kB / 1.279 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007734/0.7652, allocations: 288.4 kB / 1.28 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.7653, allocations: 53.31 kB / 1.28 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.7654, allocations: 218.1 kB / 1.28 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.7654, allocations: 30.7 kB / 1.28 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.496e-05/0.7655, allocations: 114.6 kB / 1.28 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.7655, allocations: 53.94 kB / 1.28 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.7656, allocations: 31.44 kB / 1.28 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.7656, allocations: 333.4 kB / 1.28 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.7659, allocations: 76.73 kB / 1.281 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.7661, allocations: 76.36 kB / 1.281 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.7666, allocations: 169.4 kB / 1.281 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7666, allocations: 4 kB / 1.281 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005884/0.7672, allocations: 214.1 kB / 1.281 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7672, allocations: 5.594 kB / 1.281 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7672, allocations: 0.6875 kB / 1.281 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7673, allocations: 1.25 kB / 1.281 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.7676, allocations: 40.53 kB / 1.281 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.7676, allocations: 1.453 kB / 1.281 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.7677, allocations: 20.88 kB / 1.281 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.7677, allocations: 8.25 kB / 1.281 GB, free: 1.031 MB / 0.9981 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 9.406e-05/0.7678, allocations: 125.6 kB / 1.281 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.7679, allocations: 16.47 kB / 1.281 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/0.7679, allocations: 30.28 kB / 1.281 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.768, allocations: 9.188 kB / 1.281 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.768, allocations: 1.047 kB / 1.281 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.768, allocations: 0.6562 kB / 1.281 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.7682, allocations: 270.8 kB / 1.282 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7683, allocations: 0.625 kB / 1.282 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.7685, allocations: 36.84 kB / 1.282 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.7685, allocations: 0.8125 kB / 1.282 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.7685, allocations: 7.281 kB / 1.282 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.7685, allocations: 5.688 kB / 1.282 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7685, allocations: 8 kB / 1.282 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005835/0.7691, allocations: 312.8 kB / 1.282 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.7692, allocations: 114.1 kB / 1.282 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.7692, allocations: 2.094 kB / 1.282 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.7694, allocations: 20.7 kB / 1.282 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.7694, allocations: 7.953 kB / 1.282 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.7695, allocations: 4.422 kB / 1.282 GB, free: 320 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001288/0.7696, allocations: 163 kB / 1.282 GB, free: 216 kB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7696, allocations: 0 / 1.282 GB, free: 216 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002836/0.7699, allocations: 40.52 kB / 1.282 GB, free: 208 kB / 0.9981 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.0009566/0.7708, allocations: 0.8566 MB / 1.283 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.7714, allocations: 175.1 kB / 1.283 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.7714, allocations: 0 / 1.283 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.7716, allocations: 96.92 kB / 1.283 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.7721, allocations: 30.36 kB / 1.283 GB, free: 15.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.7754, allocations: 2.312 MB / 1.286 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.7757, allocations: 0.7289 MB / 1.286 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.7759, allocations: 49.7 kB / 1.286 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.776, allocations: 54.97 kB / 1.286 GB, free: 13.1 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.776, allocations: 0 / 1.286 GB, free: 13.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.8024, allocations: 3.908 MB / 1.29 GB, free: 12.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.893, allocations: 5.188 kB / 1.29 GB, free: 12.55 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] 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/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: 13.116319662000024]