Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001482/0.001482, 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.001499/0.001499, allocations: 213.4 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.797/2.797, allocations: 476.7 MB / 0.7715 GB, free: 4.262 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.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.002101/0.002101, allocations: 62.91 kB / 1.118 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3495, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004208/0.3537, allocations: 1.964 MB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005053/0.3587, allocations: 3.603 MB / 1.29 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.3588, allocations: 0 / 1.29 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.3592, allocations: 51.62 kB / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.3597, allocations: 139.1 kB / 1.29 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.3599, allocations: 59.84 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.3601, allocations: 179.2 kB / 1.29 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3602, allocations: 13.81 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3605, allocations: 87.69 kB / 1.29 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3606, allocations: 83.55 kB / 1.29 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.3607, allocations: 8 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3608, allocations: 39.97 kB / 1.29 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3608, allocations: 39.78 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3609, allocations: 79.47 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3612, allocations: 179.2 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3612, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3612, allocations: 0 / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.3612, allocations: 0 / 1.29 GB, free: 5.164 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.0008599/0.3621, allocations: 441.1 kB / 1.291 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.3621, allocations: 12.03 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.239e-05/0.3621, allocations: 4.125 kB / 1.291 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.681e-05/0.3622, allocations: 54.59 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.3626, allocations: 60.75 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.363, allocations: 197.2 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.363, allocations: 4.375 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.363, allocations: 8.125 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.3634, allocations: 133.6 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3634, allocations: 3.938 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.3634, allocations: 0 / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.3635, allocations: 15.98 kB / 1.291 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004422/0.3639, allocations: 131.9 kB / 1.292 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007435/0.3647, allocations: 411.7 kB / 1.292 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/0.3651, allocations: 162.4 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.3654, allocations: 88.8 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3654, allocations: 7.984 kB / 1.292 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.3654, allocations: 38.56 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.3654, allocations: 0 / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008789/0.3663, allocations: 285 kB / 1.292 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.3664, allocations: 55.41 kB / 1.293 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3666, allocations: 217 kB / 1.293 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3666, allocations: 33.64 kB / 1.293 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.914e-05/0.3667, allocations: 124 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.3668, allocations: 47.64 kB / 1.293 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.3668, allocations: 29.7 kB / 1.293 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.367, allocations: 334.8 kB / 1.293 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.3673, allocations: 71.94 kB / 1.293 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.3675, allocations: 71.94 kB / 1.293 GB, free: 2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.368, allocations: 160.7 kB / 1.294 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.368, allocations: 0 / 1.294 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005449/0.3685, allocations: 205.4 kB / 1.294 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3685, allocations: 10.5 kB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3685, allocations: 0 / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3685, allocations: 4 kB / 1.294 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.3688, allocations: 39.89 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3688, allocations: 0 / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3689, allocations: 23.86 kB / 1.294 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.369, allocations: 4 kB / 1.294 GB, free: 1.555 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.0001332/0.3691, allocations: 125.8 kB / 1.294 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3691, allocations: 27.86 kB / 1.294 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.3692, allocations: 25.77 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3692, allocations: 0 / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3692, allocations: 0 / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3692, allocations: 7.938 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3695, allocations: 236.5 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3695, allocations: 4 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3697, allocations: 31.91 kB / 1.294 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3697, allocations: 4 kB / 1.294 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3697, allocations: 3.984 kB / 1.294 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.3697, allocations: 8 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3697, allocations: 0 / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.3703, allocations: 308.3 kB / 1.295 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.3704, allocations: 31.84 kB / 1.295 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3705, allocations: 4 kB / 1.295 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3706, allocations: 15.97 kB / 1.295 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3707, allocations: 15.92 kB / 1.295 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3707, allocations: 7.938 kB / 1.295 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001464/0.3708, allocations: 156.5 kB / 1.295 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3708, allocations: 4 kB / 1.295 GB, free: 500 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002803/0.3711, allocations: 35.94 kB / 1.295 GB, free: 464 kB / 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.001017/0.3721, allocations: 0.8456 MB / 1.296 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.3727, allocations: 173 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3727, allocations: 0 / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.3729, allocations: 87.81 kB / 1.296 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3733, allocations: 33.72 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.3767, allocations: 2.294 MB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3771, allocations: 0.7357 MB / 1.299 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.3773, allocations: 45.03 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3774, allocations: 55.41 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.3774, allocations: 0 / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02514/0.4025, allocations: 4.066 MB / 1.303 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.64, allocations: 10.12 kB / 1.303 GB, free: 8.168 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.685007576015778]