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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.006163/0.006163, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.001181/0.001181, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.09 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2511, allocations: 140.4 MB / 1.087 GB, free: 2.008 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003797/0.255, allocations: 1.911 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004947/0.26, allocations: 3.444 MB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.2602, allocations: 0 / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.2606, allocations: 51.69 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.2612, allocations: 139.2 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.2614, allocations: 31.95 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.2617, allocations: 167.2 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2618, allocations: 37.66 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.2621, allocations: 83.58 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.2623, allocations: 87.55 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.2623, allocations: 8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2625, allocations: 27.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.2625, allocations: 31.91 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.2627, allocations: 95.39 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.263, allocations: 167.2 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.263, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.263, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.263, allocations: 0 / 1.094 GB, free: 11.7 MB / 0.8575 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.001026/0.264, allocations: 0.5138 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2641, allocations: 12.03 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.2642, allocations: 34.75 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.2643, allocations: 20.8 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.2647, allocations: 251 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2647, allocations: 384 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.2647, allocations: 12.36 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.2651, allocations: 145.5 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2652, allocations: 4 kB / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2652, allocations: 0 / 1.095 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.2652, allocations: 11.98 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004643/0.2657, allocations: 143.8 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.2665, allocations: 448.5 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.2671, allocations: 173.5 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.2674, allocations: 116.7 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.2674, allocations: 0 / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2674, allocations: 34.55 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.2674, allocations: 0 / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0009043/0.2683, allocations: 301.5 kB / 1.096 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.2684, allocations: 55.41 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.2686, allocations: 209 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.2687, allocations: 25.7 kB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.2688, allocations: 124.1 kB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.204e-05/0.2689, allocations: 47.59 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-05/0.2689, allocations: 33.7 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002222/0.2692, allocations: 334.8 kB / 1.097 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.2694, allocations: 75.88 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.2696, allocations: 71.94 kB / 1.097 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.2701, allocations: 178.1 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2701, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005627/0.2707, allocations: 213.5 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2707, allocations: 11.94 kB / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2707, allocations: 0 / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2708, allocations: 0 / 1.097 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.271, allocations: 39.89 kB / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.271, allocations: 0 / 1.097 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2712, allocations: 19.88 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2713, allocations: 11.94 kB / 1.097 GB, free: 7.867 MB / 0.8575 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.0001236/0.2714, allocations: 129.8 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.2714, allocations: 15.91 kB / 1.097 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.2715, allocations: 25.83 kB / 1.097 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2715, allocations: 4 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2715, allocations: 0 / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2715, allocations: 0 / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.2719, allocations: 269.4 kB / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2719, allocations: 0 / 1.098 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2722, allocations: 43.89 kB / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2722, allocations: 0 / 1.098 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.2722, allocations: 4 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.2722, allocations: 0 / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2722, allocations: 0 / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.2728, allocations: 324.3 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.2729, allocations: 112.9 kB / 1.098 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.273, allocations: 4 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.2732, allocations: 15.92 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.2732, allocations: 15.97 kB / 1.098 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2733, allocations: 4 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001413/0.2734, allocations: 156.4 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2734, allocations: 4 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002926/0.2737, allocations: 43.94 kB / 1.098 GB, free: 6.625 MB / 0.8575 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.0009783/0.2747, allocations: 0.8509 MB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006734/0.2754, allocations: 171.8 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2754, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.2757, allocations: 99.86 kB / 1.099 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.2761, allocations: 38.06 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003773/0.2799, allocations: 2.325 MB / 1.102 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.2803, allocations: 0.7311 MB / 1.102 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.2805, allocations: 48.59 kB / 1.102 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2806, allocations: 55.41 kB / 1.102 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.2806, allocations: 4 kB / 1.102 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3018, allocations: 3.91 MB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.735, allocations: 7.875 kB / 1.106 GB, free: 14.42 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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