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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 199.1 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.263/2.263, allocations: 437.1 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4928, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003054/0.4959, allocations: 1.916 MB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.4996, allocations: 3.446 MB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.67e-05/0.4997, allocations: 3.938 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.5, allocations: 51.67 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.5004, allocations: 139.1 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.974e-05/0.5005, allocations: 27.97 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.5007, allocations: 175.2 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.801e-05/0.5008, allocations: 29.67 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.501, allocations: 87.62 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.5012, allocations: 83.61 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.5012, allocations: 8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.14e-05/0.5013, allocations: 23.98 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.5014, allocations: 39.84 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.86e-05/0.5015, allocations: 83.47 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.5017, allocations: 167.4 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.5017, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5017, allocations: 0 / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.5017, allocations: 4 kB / 1.024 GB, free: 12.19 MB / 0.7794 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.0008626/0.5026, allocations: 0.5039 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.5026, allocations: 12.03 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.5026, allocations: 30.75 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.5027, allocations: 20.66 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.503, allocations: 254.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.5031, allocations: 4.375 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.5031, allocations: 384 / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.5035, allocations: 149.5 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.5035, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.5035, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.5035, allocations: 11.98 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.504, allocations: 147.9 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.5047, allocations: 456.4 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.5051, allocations: 174.5 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.5054, allocations: 109 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.5054, allocations: 4 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.5054, allocations: 38.56 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.5054, allocations: 0 / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000844/0.5063, allocations: 297.3 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5063, allocations: 51.41 kB / 1.026 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.5065, allocations: 213 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.5066, allocations: 25.7 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.862e-05/0.5066, allocations: 124.1 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.958e-05/0.5067, allocations: 47.28 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.5067, allocations: 33.7 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5069, allocations: 334.8 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.5071, allocations: 71.94 kB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.5073, allocations: 77.17 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00046/0.5078, allocations: 171.8 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5078, allocations: 0 / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005377/0.5084, allocations: 217.3 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5084, allocations: 8 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5084, allocations: 0 / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.5084, allocations: 0 / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.5087, allocations: 35.95 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5087, allocations: 0 / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.5089, allocations: 19.89 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.5089, allocations: 3.938 kB / 1.027 GB, free: 8.379 MB / 0.7794 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.0001055/0.509, allocations: 137.8 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.5091, allocations: 23.75 kB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.5091, allocations: 25.83 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5091, allocations: 0 / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5091, allocations: 0 / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5091, allocations: 4 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.5094, allocations: 269.3 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5094, allocations: 4 kB / 1.027 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.5097, allocations: 35.95 kB / 1.028 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.5097, allocations: 4 kB / 1.028 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.5097, allocations: 0 / 1.028 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5097, allocations: 0 / 1.028 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5097, allocations: 0 / 1.028 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006066/0.5103, allocations: 327.1 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.5104, allocations: 108.8 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.5105, allocations: 0 / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.5107, allocations: 19.97 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.5107, allocations: 7.984 kB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5107, allocations: 8 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001302/0.5109, allocations: 160.4 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5109, allocations: 0 / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002708/0.5112, allocations: 36 kB / 1.028 GB, free: 7.145 MB / 0.7794 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.0009065/0.5121, allocations: 0.8567 MB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.5126, allocations: 188.9 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5127, allocations: 0 / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.5129, allocations: 99.86 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.5133, allocations: 32.92 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.5164, allocations: 2.318 MB / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.5167, allocations: 0.7314 MB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.5169, allocations: 56.56 kB / 1.032 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.138e-05/0.517, allocations: 47.42 kB / 1.032 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.517, allocations: 4 kB / 1.032 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2249/0.7419, allocations: 3.859 MB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.793, allocations: 3.953 kB / 1.036 GB, free: 14.96 MB / 0.795 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches