Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001568/0.001568, allocations: 116.1 kB / 17.17 MB, free: 6 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.001886/0.001886, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.387/1.387, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.817/2.817, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_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.001965/0.001965, allocations: 75.89 kB / 1.165 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7862, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002541/0.7887, allocations: 1.929 MB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003349/0.7921, allocations: 3.722 MB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.7922, allocations: 5.625 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.7928, allocations: 190.5 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.793, allocations: 81.5 kB / 1.346 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001204/0.7931, allocations: 52.16 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.7935, allocations: 277.7 kB / 1.346 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.7936, allocations: 21.84 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.7937, allocations: 82.53 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.7938, allocations: 90 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.7939, allocations: 8.25 kB / 1.346 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.7939, allocations: 31.31 kB / 1.346 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.794, allocations: 66.27 kB / 1.347 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.7941, allocations: 87.86 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.7943, allocations: 203.8 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7943, allocations: 0.75 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7943, allocations: 0 / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7943, allocations: 1.375 kB / 1.347 GB, free: 11.72 MB / 1.061 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.0007345/0.7951, allocations: 0.5435 MB / 1.347 GB, free: 11.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.7951, allocations: 10.36 kB / 1.347 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.089e-05/0.7951, allocations: 1.5 kB / 1.347 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.7951, allocations: 38.62 kB / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/0.796, allocations: 126 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.7964, allocations: 268.5 kB / 1.348 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.7964, allocations: 5.719 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.7964, allocations: 7.688 kB / 1.348 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.7968, allocations: 156.4 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.7968, allocations: 0 / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.7968, allocations: 5.156 kB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.7969, allocations: 9.688 kB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.7973, allocations: 164.3 kB / 1.348 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.798, allocations: 470 kB / 1.349 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.7984, allocations: 179.3 kB / 1.349 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.7986, allocations: 107.5 kB / 1.349 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.7987, allocations: 2.281 kB / 1.349 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.7987, allocations: 35.62 kB / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.7987, allocations: 0 / 1.349 GB, free: 10.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008698/0.7995, allocations: 324.5 kB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.79e-05/0.7996, allocations: 52.47 kB / 1.349 GB, free: 10.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.7998, allocations: 254.2 kB / 1.349 GB, free: 10 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.7998, allocations: 25.7 kB / 1.349 GB, free: 9.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.7998, allocations: 145.8 kB / 1.35 GB, free: 9.844 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.7999, allocations: 40.83 kB / 1.35 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.641e-05/0.7999, allocations: 36.66 kB / 1.35 GB, free: 9.785 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.8, allocations: 341.5 kB / 1.35 GB, free: 9.457 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.8002, allocations: 85.14 kB / 1.35 GB, free: 9.434 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.8005, allocations: 87.03 kB / 1.35 GB, free: 9.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.8009, allocations: 178.9 kB / 1.35 GB, free: 9.359 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8009, allocations: 0 / 1.35 GB, free: 9.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005464/0.8015, allocations: 238.3 kB / 1.351 GB, free: 9.266 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.8015, allocations: 6.766 kB / 1.351 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.8015, allocations: 0 / 1.351 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8015, allocations: 1.469 kB / 1.351 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.8018, allocations: 38.22 kB / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.8018, allocations: 1.859 kB / 1.351 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.802, allocations: 20.02 kB / 1.351 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.802, allocations: 9.312 kB / 1.351 GB, free: 9.25 MB / 1.061 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 8.975e-05/0.8021, allocations: 137.3 kB / 1.351 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.8022, allocations: 27.17 kB / 1.351 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.8022, allocations: 40.44 kB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8022, allocations: 1.594 kB / 1.351 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8022, allocations: 5.062 kB / 1.351 GB, free: 9.074 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8022, allocations: 5.25 kB / 1.351 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.8025, allocations: 282.3 kB / 1.351 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8025, allocations: 1.062 kB / 1.351 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.8027, allocations: 38.77 kB / 1.351 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.8027, allocations: 0.6562 kB / 1.351 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.8028, allocations: 4.156 kB / 1.351 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8028, allocations: 0 / 1.351 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8028, allocations: 1.094 kB / 1.351 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.8033, allocations: 345.1 kB / 1.351 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.646e-05/0.8034, allocations: 112.2 kB / 1.352 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.8035, allocations: 5.125 kB / 1.352 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.8037, allocations: 13.02 kB / 1.352 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.8037, allocations: 16.03 kB / 1.352 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.8037, allocations: 10.19 kB / 1.352 GB, free: 8.504 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001339/0.8039, allocations: 184.5 kB / 1.352 GB, free: 8.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8039, allocations: 0.9375 kB / 1.352 GB, free: 8.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002651/0.8041, allocations: 37.75 kB / 1.352 GB, free: 8.395 MB / 1.061 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.0007333/0.8049, allocations: 0.8687 MB / 1.353 GB, free: 7.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005449/0.8054, allocations: 194.4 kB / 1.353 GB, free: 7.621 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8054, allocations: 0 / 1.353 GB, free: 7.621 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.8057, allocations: 98.2 kB / 1.353 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.8061, allocations: 60.25 kB / 1.353 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.8094, allocations: 2.481 MB / 1.355 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.8096, allocations: 0.7483 MB / 1.356 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.8098, allocations: 64.95 kB / 1.356 GB, free: 5.246 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.8099, allocations: 65.44 kB / 1.356 GB, free: 5.199 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.8099, allocations: 112 / 1.356 GB, free: 5.199 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.8324, allocations: 5.132 MB / 1.361 GB, free: 4.598 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/9.179, allocations: 18.58 kB / 1.361 GB, free: 4.582 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.168944263015874]