Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_11_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.004716/0.004716, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001296/0.001297, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 64.09 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 159.1 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005751/0.2951, allocations: 4.353 MB / 1.224 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.3, allocations: 2.955 MB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.3002, allocations: 19.88 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009132/0.3012, allocations: 365.7 kB / 1.228 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.3024, allocations: 0.6454 MB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3037, allocations: 0.6312 MB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.3057, allocations: 1.882 MB / 1.231 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.306, allocations: 177.9 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006994/0.3067, allocations: 0.5839 MB / 1.231 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008987/0.3076, allocations: 0.6538 MB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3077, allocations: 80 kB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.3085, allocations: 407.4 kB / 1.233 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005139/0.309, allocations: 474.6 kB / 1.233 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.3096, allocations: 0.5945 MB / 1.234 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.3113, allocations: 1.482 MB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3113, allocations: 0 / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3113, allocations: 0 / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.3113, allocations: 0 / 1.235 GB, free: 15.01 MB / 0.9981 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.002912/0.3142, allocations: 1.65 MB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3142, allocations: 12.03 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.3144, allocations: 86.64 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.3146, allocations: 144 kB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.316, allocations: 0.8514 MB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.316, allocations: 41.38 kB / 1.238 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/0.3161, allocations: 64.38 kB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/0.317, allocations: 0.6176 MB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.3171, allocations: 3.984 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.3171, allocations: 19.94 kB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3171, allocations: 12 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.3179, allocations: 0.5582 MB / 1.239 GB, free: 10.83 MB / 0.9981 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.004493/0.3224, allocations: 3.283 MB / 1.242 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.3239, allocations: 0.8451 MB / 1.243 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.3244, allocations: 361.4 kB / 1.243 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-05/0.3245, allocations: 28.36 kB / 1.243 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3245, allocations: 38.92 kB / 1.243 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 1.573e-06/0.3245, allocations: 0 / 1.243 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.001872/0.3264, allocations: 1.184 MB / 1.245 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3265, allocations: 59.41 kB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.3281, allocations: 1.231 MB / 1.246 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.3282, allocations: 41.7 kB / 1.246 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/0.3286, allocations: 469.3 kB / 1.246 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3288, allocations: 186.4 kB / 1.247 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.3291, allocations: 210.6 kB / 1.247 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3293, allocations: 353.9 kB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008454/0.3301, allocations: 0.6465 MB / 1.248 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3313, allocations: 0.9669 MB / 1.249 GB, free: 492 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5188/0.8501, allocations: 1.579 MB / 1.25 GB, free: 29.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.8501, allocations: 4.25 kB / 1.25 GB, free: 29.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002455/0.8526, allocations: 1.784 MB / 1.252 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.8526, allocations: 10.56 kB / 1.252 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.8526, allocations: 15.75 kB / 1.252 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.8529, allocations: 47.97 kB / 1.252 GB, free: 29.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.854, allocations: 264.9 kB / 1.252 GB, free: 29.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.8565, allocations: 6.842 MB / 1.259 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.8575, allocations: 132 kB / 1.259 GB, free: 23.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.8575, allocations: 41.02 kB / 1.259 GB, free: 23.28 MB / 0.9981 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.0003315/0.8579, allocations: 309.4 kB / 1.259 GB, free: 23.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.858, allocations: 115.9 kB / 1.26 GB, free: 23.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.859, allocations: 0.8402 MB / 1.26 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.859, allocations: 5.281 kB / 1.26 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.859, allocations: 3.594 kB / 1.26 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.859, allocations: 3.281 kB / 1.26 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007382/0.8598, allocations: 0.9117 MB / 1.261 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.8598, allocations: 3.938 kB / 1.261 GB, free: 22.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004854/0.8603, allocations: 110.4 kB / 1.261 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.569e-05/0.8604, allocations: 33.34 kB / 1.261 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.8604, allocations: 17.03 kB / 1.261 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006149/0.8611, allocations: 1.441 MB / 1.263 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8611, allocations: 0 / 1.263 GB, free: 21.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.8623, allocations: 1.377 MB / 1.264 GB, free: 21.23 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/0.8626, allocations: 275.5 kB / 1.264 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8628, allocations: 19 kB / 1.264 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.8633, allocations: 22.77 kB / 1.264 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.8634, allocations: 30.19 kB / 1.264 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.8634, allocations: 16.88 kB / 1.264 GB, free: 21.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009198/0.8644, allocations: 0.8179 MB / 1.265 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8644, allocations: 0 / 1.265 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008155/0.8652, allocations: 369.1 kB / 1.266 GB, free: 20.95 MB / 0.9981 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.002231/0.8674, allocations: 2.093 MB / 1.268 GB, free: 20.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.8698, allocations: 1.504 MB / 1.269 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.8698, allocations: 1.375 kB / 1.269 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.8703, allocations: 475.2 kB / 1.27 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009982/0.8713, allocations: 227.7 kB / 1.27 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.8846, allocations: 11.57 MB / 1.281 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.8851, allocations: 1.096 MB / 1.282 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000569/0.8857, allocations: 208.8 kB / 1.282 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.8862, allocations: 399.7 kB / 1.283 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/0.8862, allocations: 0 / 1.283 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05851/0.9447, allocations: 24.18 MB / 1.306 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.76, allocations: 17.69 kB / 1.306 GB, free: 8.938 MB / 0.9981 GB (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches