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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 218.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.36 kB / 1.118 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3514, allocations: 169.9 MB / 1.284 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003482/0.3549, allocations: 1.979 MB / 1.286 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004607/0.3595, allocations: 3.608 MB / 1.29 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.3597, allocations: 7.938 kB / 1.29 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.36, allocations: 51.62 kB / 1.29 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005653/0.3606, allocations: 143.2 kB / 1.29 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.3607, allocations: 55.86 kB / 1.29 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.361, allocations: 179.2 kB / 1.29 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3611, allocations: 17.8 kB / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3613, allocations: 95.56 kB / 1.29 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3615, allocations: 83.62 kB / 1.29 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.3616, allocations: 8 kB / 1.29 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3617, allocations: 43.91 kB / 1.29 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.3618, allocations: 39.83 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.3618, allocations: 75.48 kB / 1.29 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.3621, allocations: 187 kB / 1.291 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3621, allocations: 0 / 1.291 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3621, allocations: 4 kB / 1.291 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.978e-06/0.3621, allocations: 0 / 1.291 GB, free: 13.42 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.0009211/0.3631, allocations: 467 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3631, allocations: 8.031 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.563e-05/0.3631, allocations: 4.188 kB / 1.291 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.3632, allocations: 38.73 kB / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.3635, allocations: 56.75 kB / 1.291 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.364, allocations: 201.2 kB / 1.291 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.364, allocations: 4.375 kB / 1.291 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.364, allocations: 8.062 kB / 1.291 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.3644, allocations: 149.4 kB / 1.291 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3644, allocations: 0 / 1.291 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.3644, allocations: 4 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.3645, allocations: 15.98 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004619/0.3649, allocations: 139.9 kB / 1.292 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.3657, allocations: 431.5 kB / 1.292 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.3662, allocations: 158.5 kB / 1.292 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.3664, allocations: 100.5 kB / 1.292 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3665, allocations: 4 kB / 1.292 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.3665, allocations: 42.55 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.3665, allocations: 0 / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008914/0.3674, allocations: 297.5 kB / 1.293 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3674, allocations: 51.41 kB / 1.293 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3677, allocations: 221.1 kB / 1.293 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3677, allocations: 25.7 kB / 1.293 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.988e-05/0.3678, allocations: 132 kB / 1.293 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.3678, allocations: 39.64 kB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.3679, allocations: 33.7 kB / 1.293 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.368, allocations: 338.8 kB / 1.293 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3683, allocations: 71.94 kB / 1.293 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3685, allocations: 71.94 kB / 1.294 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.369, allocations: 168.7 kB / 1.294 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.369, allocations: 4 kB / 1.294 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005714/0.3695, allocations: 222.6 kB / 1.294 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3696, allocations: 8 kB / 1.294 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3696, allocations: 4 kB / 1.294 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3696, allocations: 0 / 1.294 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.3698, allocations: 31.97 kB / 1.294 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3698, allocations: 0 / 1.294 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.37, allocations: 23.81 kB / 1.294 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.37, allocations: 11.98 kB / 1.294 GB, free: 9.719 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 0.0001277/0.3702, allocations: 125.8 kB / 1.294 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.3702, allocations: 27.84 kB / 1.294 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.3703, allocations: 29.77 kB / 1.294 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3703, allocations: 0 / 1.294 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3703, allocations: 0 / 1.294 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3703, allocations: 7.922 kB / 1.294 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.3706, allocations: 236.6 kB / 1.294 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3706, allocations: 0 / 1.294 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.3708, allocations: 31.97 kB / 1.294 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3708, allocations: 0 / 1.294 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.3708, allocations: 11.98 kB / 1.294 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3708, allocations: 7.938 kB / 1.294 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3708, allocations: 0 / 1.294 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.3715, allocations: 315.2 kB / 1.295 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.3715, allocations: 51.77 kB / 1.295 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.3716, allocations: 0 / 1.295 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.3718, allocations: 11.98 kB / 1.295 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.3718, allocations: 15.97 kB / 1.295 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.3718, allocations: 3.938 kB / 1.295 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001519/0.372, allocations: 164.5 kB / 1.295 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.372, allocations: 3.938 kB / 1.295 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002819/0.3723, allocations: 36 kB / 1.295 GB, free: 8.586 MB / 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.001036/0.3733, allocations: 0.8584 MB / 1.296 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.3739, allocations: 171.9 kB / 1.296 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3739, allocations: 0 / 1.296 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.3741, allocations: 94.36 kB / 1.296 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3745, allocations: 38.23 kB / 1.296 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.378, allocations: 2.348 MB / 1.298 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3783, allocations: 0.7357 MB / 1.299 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.3785, allocations: 53.02 kB / 1.299 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3786, allocations: 55.41 kB / 1.299 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.3786, allocations: 0 / 1.299 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.4039, allocations: 4.226 MB / 1.303 GB, free: 60 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.6, allocations: 8.844 kB / 1.303 GB, free: 56 kB / 0.9981 GB " [Timeout remaining time 288] (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 --stepSize=0.04 --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: 18.209830189996865]