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.001383/0.001383, allocations: 111.7 kB / 16.46 MB, free: 6.035 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.001375/0.001375, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.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.561/2.561, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8554/0.8573, allocations: 160.7 MB / 1.213 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.004206/0.8615, allocations: 1.928 MB / 1.215 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005106/0.8666, allocations: 3.477 MB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001977/0.8668, allocations: 2.062 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.8672, allocations: 50.31 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.8678, allocations: 135.2 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.868, allocations: 27.7 kB / 1.218 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.8683, allocations: 182.6 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.8685, allocations: 14.62 kB / 1.219 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.8687, allocations: 83.44 kB / 1.219 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.869, allocations: 84.89 kB / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.869, allocations: 9.438 kB / 1.219 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.8692, allocations: 32.55 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.8692, allocations: 46.2 kB / 1.219 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.8694, allocations: 75.31 kB / 1.219 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.8697, allocations: 175.1 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8697, allocations: 0 / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8697, allocations: 0.875 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.8697, allocations: 0 / 1.219 GB, free: 15.02 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.001097/0.8708, allocations: 0.508 MB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.8709, allocations: 14.27 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.8709, allocations: 37.59 kB / 1.22 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.213e-05/0.871, allocations: 21.72 kB / 1.22 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.8714, allocations: 253.8 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.8714, allocations: 5.969 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.8714, allocations: 7.641 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.8718, allocations: 150.7 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8718, allocations: 0 / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8718, allocations: 1.219 kB / 1.22 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.8719, allocations: 19.14 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.8723, allocations: 141.6 kB / 1.22 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.8731, allocations: 451.3 kB / 1.221 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.8736, allocations: 172.5 kB / 1.221 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.8738, allocations: 102.6 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.8738, allocations: 2.25 kB / 1.221 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.8739, allocations: 31.72 kB / 1.221 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.8739, allocations: 0 / 1.221 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.0008554/0.8747, allocations: 292.5 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.8748, allocations: 56.53 kB / 1.221 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.875, allocations: 212.1 kB / 1.221 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.8751, allocations: 26.83 kB / 1.221 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.8751, allocations: 128 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.8752, allocations: 44.2 kB / 1.222 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.8753, allocations: 31.98 kB / 1.222 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.8754, allocations: 343.7 kB / 1.222 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.8757, allocations: 72.06 kB / 1.222 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.8759, allocations: 76.59 kB / 1.222 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/0.8763, allocations: 164.8 kB / 1.222 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8763, allocations: 1.125 kB / 1.222 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005432/0.8768, allocations: 222.7 kB / 1.223 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8769, allocations: 4.375 kB / 1.223 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8769, allocations: 1.062 kB / 1.223 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8769, allocations: 1.125 kB / 1.223 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.8771, allocations: 35.22 kB / 1.223 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.8771, allocations: 5.141 kB / 1.223 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.8773, allocations: 16.2 kB / 1.223 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.8773, allocations: 7.031 kB / 1.223 GB, free: 12.21 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.000126/0.8775, allocations: 130.1 kB / 1.223 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.8775, allocations: 20.58 kB / 1.223 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.97e-05/0.8776, allocations: 23.22 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.8776, allocations: 5.141 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8776, allocations: 1.094 kB / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8776, allocations: 0 / 1.223 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.8779, allocations: 276.8 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.8779, allocations: 5.125 kB / 1.223 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002265/0.8782, allocations: 35.84 kB / 1.223 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8782, allocations: 3.984 kB / 1.223 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.8782, allocations: 1.344 kB / 1.223 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.8782, allocations: 1.281 kB / 1.223 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8782, allocations: 0 / 1.223 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.8788, allocations: 315.7 kB / 1.223 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.8789, allocations: 115 kB / 1.223 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.879, allocations: 1.438 kB / 1.223 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.8792, allocations: 15.48 kB / 1.223 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.8792, allocations: 12.11 kB / 1.223 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.8792, allocations: 10.98 kB / 1.224 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001559/0.8794, allocations: 157.9 kB / 1.224 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8794, allocations: 3.938 kB / 1.224 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002923/0.8797, allocations: 40.44 kB / 1.224 GB, free: 11.25 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.0009734/0.8807, allocations: 0.857 MB / 1.225 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004993/0.8812, allocations: 170.8 kB / 1.225 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/0.8812, allocations: 5.375 kB / 1.225 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.8814, allocations: 94.48 kB / 1.225 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.8818, allocations: 23.36 kB / 1.225 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.8852, allocations: 2.311 MB / 1.227 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.8856, allocations: 0.7281 MB / 1.228 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000169/0.8857, allocations: 55.52 kB / 1.228 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.8858, allocations: 54.97 kB / 1.228 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.8858, allocations: 0 / 1.228 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.9123, allocations: 3.935 MB / 1.232 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.853, allocations: 12.5 kB / 1.232 GB, free: 4.656 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] 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: 14.627439349889755]