Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_9_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.0009754/0.0009754, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007484/0.007484, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002697, allocations: 8 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.501, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001442/0.5025, allocations: 1.617 MB / 0.9568 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.5051, allocations: 3.383 MB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.5051, allocations: 4 kB / 0.9601 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.5053, allocations: 43.02 kB / 0.9601 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003018/0.5056, allocations: 122.8 kB / 0.9602 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.974e-05/0.5057, allocations: 24.09 kB / 0.9602 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.5058, allocations: 184.3 kB / 0.9604 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.013e-05/0.5059, allocations: 31.42 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.5061, allocations: 74.08 kB / 0.9605 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.5062, allocations: 85.8 kB / 0.9606 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.5062, allocations: 4.125 kB / 0.9606 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.394e-05/0.5063, allocations: 24.3 kB / 0.9606 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.5063, allocations: 34.84 kB / 0.9607 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.5064, allocations: 99.23 kB / 0.9608 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.5065, allocations: 155.5 kB / 0.9609 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.5066, allocations: 1.375 kB / 0.9609 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5066, allocations: 0 / 0.9609 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.5066, allocations: 0 / 0.9609 GB, free: 3.102 MB / 0.7169 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.0006305/0.5072, allocations: 0.493 MB / 0.9614 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5072, allocations: 13.56 kB / 0.9614 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.5073, allocations: 41.5 kB / 0.9614 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.5073, allocations: 20.91 kB / 0.9615 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.5076, allocations: 249.9 kB / 0.9617 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-06/0.5076, allocations: 2.719 kB / 0.9617 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.5076, allocations: 3.781 kB / 0.9617 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.5079, allocations: 150.1 kB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5079, allocations: 1 kB / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5079, allocations: 0 / 0.9618 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.508, allocations: 16.17 kB / 0.9619 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.5084, allocations: 159.5 kB / 0.962 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.509, allocations: 468.5 kB / 0.9625 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.5093, allocations: 182.4 kB / 0.9626 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.5096, allocations: 109.5 kB / 0.9627 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5096, allocations: 13.8 kB / 0.9628 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.5096, allocations: 39.66 kB / 0.9628 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.5096, allocations: 0 / 0.9628 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007664/0.5104, allocations: 310.9 kB / 0.9631 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.5104, allocations: 53.41 kB / 0.9631 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.5106, allocations: 212.2 kB / 0.9633 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5106, allocations: 33.7 kB / 0.9634 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.5107, allocations: 124.1 kB / 0.9635 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.5107, allocations: 49.05 kB / 0.9635 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.5107, allocations: 17.5 kB / 0.9636 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.5108, allocations: 330.7 kB / 0.9639 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.511, allocations: 87.36 kB / 0.964 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.5112, allocations: 87.84 kB / 0.964 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.5117, allocations: 180.9 kB / 0.9642 GB, free: 472 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5117, allocations: 0 / 0.9642 GB, free: 472 kB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004848/0.5122, allocations: 230.7 kB / 0.9644 GB, free: 352 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5122, allocations: 5.188 kB / 0.9644 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5122, allocations: 4 kB / 0.9644 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.5122, allocations: 1.094 kB / 0.9644 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.5124, allocations: 42.84 kB / 0.9645 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5124, allocations: 1.031 kB / 0.9645 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.5126, allocations: 20.33 kB / 0.9645 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.5126, allocations: 14.73 kB / 0.9645 GB, free: 312 kB / 0.7169 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 7.442e-05/0.5127, allocations: 122.8 kB / 0.9646 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.5128, allocations: 20.88 kB / 0.9647 GB, free: 176 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.5128, allocations: 26.14 kB / 0.9647 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5128, allocations: 1.156 kB / 0.9647 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.5128, allocations: 1.344 kB / 0.9647 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.5128, allocations: 3.938 kB / 0.9647 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.5131, allocations: 272.6 kB / 0.9649 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5131, allocations: 1.531 kB / 0.9649 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.5133, allocations: 47.53 kB / 0.965 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5133, allocations: 0 / 0.965 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.5134, allocations: 5.047 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5134, allocations: 4.875 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5134, allocations: 0.7812 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.5139, allocations: 330.6 kB / 0.9653 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.514, allocations: 111.2 kB / 0.9654 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.514, allocations: 7.344 kB / 0.9654 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.5142, allocations: 16.86 kB / 0.9654 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.5143, allocations: 11.05 kB / 0.9655 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.5143, allocations: 3.984 kB / 0.9655 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001192/0.5144, allocations: 161.5 kB / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5144, allocations: 0 / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000256/0.5147, allocations: 44.59 kB / 0.9657 GB, free: 15.36 MB / 0.7325 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.0008271/0.5155, allocations: 0.8713 MB / 0.9665 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.516, allocations: 192.2 kB / 0.9667 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.516, allocations: 1.094 kB / 0.9667 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.5163, allocations: 104.4 kB / 0.9668 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.5166, allocations: 32.45 kB / 0.9668 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.5196, allocations: 2.433 MB / 0.9692 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.5198, allocations: 0.7278 MB / 0.9699 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.52, allocations: 51.34 kB / 0.97 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.5201, allocations: 54.7 kB / 0.97 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.5201, allocations: 3.938 kB / 0.97 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8756/1.396, allocations: 3.503 MB / 0.9734 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.396, allocations: 218.7 kB / 0.9736 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/3.2, allocations: 1 kB / 0.9736 GB, free: 9.965 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches