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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001043/0.001043, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001051/0.001051, allocations: 192.4 kB / 16.14 MB, free: 6.715 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.34/2.34, allocations: 437 MB / 0.7099 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4452, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002469/0.4477, allocations: 1.975 MB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.4506, allocations: 3.415 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.4507, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000185/0.4509, allocations: 43.75 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.4512, allocations: 127.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.921e-05/0.4513, allocations: 23.92 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.4514, allocations: 183.2 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.4515, allocations: 33.66 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.4517, allocations: 79.62 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4518, allocations: 87.61 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.4518, allocations: 7.938 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.4519, allocations: 23.98 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.452, allocations: 31.84 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.452, allocations: 79.47 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.4522, allocations: 159.4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4522, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.62e-07/0.4522, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.4522, allocations: 4 kB / 1.023 GB, free: 12.49 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.0007297/0.453, allocations: 0.5022 MB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.453, allocations: 8.031 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.453, allocations: 42.73 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.4531, allocations: 20.66 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4534, allocations: 246.9 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.4534, allocations: 12.31 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.4534, allocations: 4.375 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003021/0.4537, allocations: 143.4 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.4537, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4537, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.4538, allocations: 11.98 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.4542, allocations: 143.9 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.4548, allocations: 456.4 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.4551, allocations: 170.5 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.4554, allocations: 109.9 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.4554, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4554, allocations: 38.56 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.4554, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.00072/0.4561, allocations: 297.4 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.4562, allocations: 59.41 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4563, allocations: 209 kB / 1.025 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4564, allocations: 33.7 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.4564, allocations: 120.1 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.4565, allocations: 43.3 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.4565, allocations: 33.69 kB / 1.025 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.4566, allocations: 334.8 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.4568, allocations: 75.94 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.457, allocations: 75.92 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.4574, allocations: 168.7 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4575, allocations: 3.938 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004579/0.4579, allocations: 213.3 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4579, allocations: 8 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.4579, allocations: 0 / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.458, allocations: 4 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4582, allocations: 35.95 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4582, allocations: 0 / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.4583, allocations: 19.89 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.4584, allocations: 7.938 kB / 1.026 GB, free: 8.672 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 9.143e-05/0.4585, allocations: 130.3 kB / 1.026 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.4585, allocations: 15.81 kB / 1.026 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.4586, allocations: 33.83 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.4586, allocations: 0 / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.4586, allocations: 0 / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.4586, allocations: 0 / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.4588, allocations: 269.3 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4588, allocations: 0 / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.459, allocations: 35.95 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.459, allocations: 4 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.459, allocations: 0 / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4591, allocations: 8 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4591, allocations: 0 / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.4596, allocations: 327.1 kB / 1.027 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.4596, allocations: 108.8 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.4597, allocations: 8 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.4599, allocations: 15.97 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.4599, allocations: 11.98 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.4599, allocations: 4 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001061/0.46, allocations: 160.4 kB / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4601, allocations: 0 / 1.027 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002386/0.4603, allocations: 36 kB / 1.027 GB, free: 7.441 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.0007458/0.461, allocations: 0.8584 MB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.4615, allocations: 171.9 kB / 1.028 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4615, allocations: 0 / 1.028 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.4617, allocations: 104.7 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.4621, allocations: 35.11 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.4647, allocations: 2.364 MB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.4649, allocations: 0.7278 MB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.4651, allocations: 44.61 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.4652, allocations: 55.41 kB / 1.032 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.4652, allocations: 0 / 1.032 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.694/2.159, allocations: 3.593 MB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/2.159, allocations: 221 kB / 1.035 GB, free: 15.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/3.752, allocations: 0 / 1.035 GB, free: 15.27 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