Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 148 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.001164/0.001164, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.256/2.256, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 0.8126 GB, free: 14.39 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.5213, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004199/0.5255, allocations: 4.345 MB / 0.9539 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.5289, allocations: 2.942 MB / 0.9568 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.5291, allocations: 24.91 kB / 0.9568 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000714/0.5299, allocations: 368.6 kB / 0.9572 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008639/0.5307, allocations: 0.6445 MB / 0.9578 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009799/0.5317, allocations: 0.632 MB / 0.9584 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.533, allocations: 1.878 MB / 0.9603 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.5333, allocations: 182.3 kB / 0.9604 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005417/0.5338, allocations: 0.5796 MB / 0.961 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000674/0.5345, allocations: 0.678 MB / 0.9617 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5346, allocations: 80.12 kB / 0.9618 GB, free: 192 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.5352, allocations: 407.5 kB / 0.9621 GB, free: 8 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004667/0.5357, allocations: 453.9 kB / 0.9626 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005571/0.5362, allocations: 0.6008 MB / 0.9632 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.5376, allocations: 1.454 MB / 0.9646 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5376, allocations: 0 / 0.9646 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5376, allocations: 0 / 0.9646 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.5376, allocations: 0 / 0.9646 GB, free: 14.36 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002858/0.5405, allocations: 1.614 MB / 0.9662 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.5405, allocations: 9.469 kB / 0.9662 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.124e-05/0.5406, allocations: 81.16 kB / 0.9662 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.5408, allocations: 139.6 kB / 0.9664 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.542, allocations: 0.8106 MB / 0.9672 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.5421, allocations: 44.25 kB / 0.9672 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.5422, allocations: 73.88 kB / 0.9673 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.543, allocations: 0.6167 MB / 0.9679 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.543, allocations: 0 / 0.9679 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.5431, allocations: 16.03 kB / 0.9679 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.5431, allocations: 10.81 kB / 0.9679 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.5438, allocations: 0.5606 MB / 0.9685 GB, free: 11.77 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004238/0.5481, allocations: 3.288 MB / 0.9717 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.5495, allocations: 0.8487 MB / 0.9725 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000447/0.5499, allocations: 368.4 kB / 0.9728 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.086e-05/0.55, allocations: 20.77 kB / 0.9729 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.55, allocations: 36.25 kB / 0.9729 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.853e-06/0.55, allocations: 1.594 kB / 0.9729 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.001636/0.5517, allocations: 1.176 MB / 0.974 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.5517, allocations: 60.59 kB / 0.9741 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5532, allocations: 1.238 MB / 0.9753 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.5533, allocations: 37.7 kB / 0.9754 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.5536, allocations: 468.7 kB / 0.9758 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.5538, allocations: 173.5 kB / 0.976 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.5541, allocations: 206.5 kB / 0.9762 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5542, allocations: 357.9 kB / 0.9765 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007554/0.555, allocations: 0.6465 MB / 0.9771 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.5559, allocations: 0.9669 MB / 0.9781 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.5575, allocations: 1.586 MB / 0.9796 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5575, allocations: 4 kB / 0.9796 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002155/0.5597, allocations: 1.779 MB / 0.9814 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5597, allocations: 12 kB / 0.9814 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5598, allocations: 12 kB / 0.9814 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.5599, allocations: 49.33 kB / 0.9814 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.561, allocations: 271.6 kB / 0.9817 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003795/0.5649, allocations: 6.824 MB / 0.9884 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.5658, allocations: 134.7 kB / 0.9885 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.5658, allocations: 40 kB / 0.9885 GB, free: 8.938 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003456/0.5662, allocations: 297.5 kB / 0.9888 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.5664, allocations: 118.5 kB / 0.9889 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.5675, allocations: 0.853 MB / 0.9898 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5676, allocations: 4 kB / 0.9898 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5676, allocations: 0 / 0.9898 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5676, allocations: 7.984 kB / 0.9898 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.5686, allocations: 0.9074 MB / 0.9907 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5686, allocations: 0 / 0.9907 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.5691, allocations: 111.9 kB / 0.9908 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.5692, allocations: 36.77 kB / 0.9908 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.5693, allocations: 16 kB / 0.9908 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009635/0.5703, allocations: 1.437 MB / 0.9922 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.5703, allocations: 0 / 0.9922 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.5719, allocations: 1.366 MB / 0.9935 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.5722, allocations: 271.4 kB / 0.9938 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5723, allocations: 12 kB / 0.9938 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.5729, allocations: 23.97 kB / 0.9938 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.573, allocations: 31.95 kB / 0.9939 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.573, allocations: 12 kB / 0.9939 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001085/0.5741, allocations: 0.8154 MB / 0.9947 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5741, allocations: 4 kB / 0.9947 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009885/0.5751, allocations: 367.8 kB / 0.995 GB, free: 2.016 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/0.5774, allocations: 2.086 MB / 0.9971 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002438/0.5798, allocations: 1.612 MB / 0.9986 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5799, allocations: 0 / 0.9986 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.5804, allocations: 482.6 kB / 0.9991 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.5814, allocations: 226.4 kB / 0.9993 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.5954, allocations: 12.02 MB / 1.011 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006723/0.5961, allocations: 1.102 MB / 1.012 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005048/0.5966, allocations: 199.1 kB / 1.012 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.5971, allocations: 403.7 kB / 1.013 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5971, allocations: 0 / 1.013 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.6706, allocations: 23.87 MB / 1.036 GB, free: 7.684 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.1, allocations: 8.922 kB / 1.036 GB, free: 7.68 MB / 0.795 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches