Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_10_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.001561/0.001561, allocations: 108 kB / 15.61 MB, free: 152 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.001817/0.001817, allocations: 195 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.49/2.49, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.88 kB / 0.8693 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5285, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005363/0.5339, allocations: 4.361 MB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004594/0.5386, allocations: 2.95 MB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005305/0.5391, allocations: 19.88 kB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.5401, allocations: 357.7 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.5414, allocations: 0.657 MB / 1.026 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.5428, allocations: 0.6314 MB / 1.026 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.5448, allocations: 1.863 MB / 1.028 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.545, allocations: 181.9 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008283/0.5459, allocations: 0.5801 MB / 1.029 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009041/0.5468, allocations: 0.6772 MB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.547, allocations: 80 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.5477, allocations: 403.4 kB / 1.03 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004753/0.5482, allocations: 462.6 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.5488, allocations: 0.5906 MB / 1.031 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.5502, allocations: 1.46 MB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.5502, allocations: 0 / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5502, allocations: 0 / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.575e-05/0.5502, allocations: 0 / 1.032 GB, free: 3.211 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002906/0.5531, allocations: 1.624 MB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5532, allocations: 15.97 kB / 1.034 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.571e-05/0.5533, allocations: 78.72 kB / 1.034 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.5535, allocations: 135.2 kB / 1.034 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.5547, allocations: 0.8154 MB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.5548, allocations: 41.38 kB / 1.035 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.5549, allocations: 68.27 kB / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008584/0.5558, allocations: 0.6177 MB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5558, allocations: 0 / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.5558, allocations: 16 kB / 1.036 GB, free: 15.67 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5558, allocations: 12 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007592/0.5566, allocations: 0.5621 MB / 1.036 GB, free: 15.09 MB / 0.795 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.004368/0.561, allocations: 3.286 MB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.5624, allocations: 0.8532 MB / 1.04 GB, free: 10.71 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.5628, allocations: 365.4 kB / 1.041 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-05/0.5629, allocations: 24.34 kB / 1.041 GB, free: 10.32 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.5629, allocations: 38.94 kB / 1.041 GB, free: 10.28 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.563, allocations: 0 / 1.041 GB, free: 10.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001729/0.5647, allocations: 1.19 MB / 1.042 GB, free: 9.059 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.5647, allocations: 55.41 kB / 1.042 GB, free: 8.992 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5663, allocations: 1.227 MB / 1.043 GB, free: 7.754 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.5663, allocations: 41.7 kB / 1.043 GB, free: 7.707 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.5667, allocations: 460.7 kB / 1.044 GB, free: 7.25 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.5668, allocations: 173.5 kB / 1.044 GB, free: 7.078 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/0.5671, allocations: 214.5 kB / 1.044 GB, free: 6.863 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5673, allocations: 353.9 kB / 1.044 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/0.568, allocations: 0.6387 MB / 1.045 GB, free: 5.875 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/0.569, allocations: 0.9708 MB / 1.046 GB, free: 4.758 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.5707, allocations: 1.586 MB / 1.047 GB, free: 3.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.5707, allocations: 4 kB / 1.047 GB, free: 3.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002276/0.573, allocations: 1.78 MB / 1.049 GB, free: 1.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.573, allocations: 12 kB / 1.049 GB, free: 1.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.573, allocations: 12 kB / 1.049 GB, free: 1.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.5732, allocations: 52.8 kB / 1.049 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.5744, allocations: 267.6 kB / 1.049 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003992/0.5784, allocations: 6.832 MB / 1.056 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.5795, allocations: 130.6 kB / 1.056 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.5795, allocations: 40 kB / 1.056 GB, free: 9.574 MB / 0.8106 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.0004447/0.58, allocations: 298 kB / 1.057 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5802, allocations: 110.6 kB / 1.057 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5814, allocations: 0.8504 MB / 1.057 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5814, allocations: 4 kB / 1.057 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5814, allocations: 3.938 kB / 1.057 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5814, allocations: 3.938 kB / 1.057 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.5824, allocations: 0.9113 MB / 1.058 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.5824, allocations: 3.984 kB / 1.058 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.583, allocations: 111.9 kB / 1.058 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.5831, allocations: 36.77 kB / 1.058 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.5832, allocations: 16 kB / 1.059 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/0.5842, allocations: 1.441 MB / 1.06 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5842, allocations: 4 kB / 1.06 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.5858, allocations: 1.358 MB / 1.061 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.5862, allocations: 271.4 kB / 1.062 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5863, allocations: 11.98 kB / 1.062 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/0.5869, allocations: 27.97 kB / 1.062 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.749e-05/0.5869, allocations: 31.89 kB / 1.062 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.587, allocations: 12 kB / 1.062 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001095/0.5881, allocations: 0.8194 MB / 1.062 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5881, allocations: 0 / 1.062 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009729/0.5891, allocations: 363.7 kB / 1.063 GB, free: 2.652 MB / 0.8106 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.002311/0.5914, allocations: 2.084 MB / 1.065 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.594, allocations: 1.609 MB / 1.066 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.594, allocations: 4.125 kB / 1.066 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005658/0.5945, allocations: 482.1 kB / 1.067 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5956, allocations: 230 kB / 1.067 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.6096, allocations: 12.01 MB / 1.079 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.6102, allocations: 1.102 MB / 1.08 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005088/0.6108, allocations: 207.1 kB / 1.08 GB, free: 304 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/0.6113, allocations: 395.4 kB / 1.08 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.6113, allocations: 3.938 kB / 1.08 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/0.6604, allocations: 23.87 MB / 1.104 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.88, allocations: 0.7031 kB / 1.104 GB, free: 8.34 MB / 0.8575 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches