Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_latest_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.007768/0.007768, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001929/0.001929, allocations: 192.2 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.539/2.539, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6326, allocations: 159.1 MB / 1.22 GB, free: 2.23 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004983/0.6376, allocations: 4.358 MB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00447/0.6421, allocations: 2.949 MB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004979/0.6427, allocations: 23.81 kB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009567/0.6436, allocations: 365.7 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.645, allocations: 0.6454 MB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.6464, allocations: 0.6314 MB / 1.228 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.6483, allocations: 1.878 MB / 1.23 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002806/0.6485, allocations: 177.9 kB / 1.23 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008343/0.6494, allocations: 0.5996 MB / 1.231 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.6503, allocations: 0.6577 MB / 1.232 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.6505, allocations: 76 kB / 1.232 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.6512, allocations: 419.4 kB / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004638/0.6517, allocations: 466.6 kB / 1.233 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006171/0.6523, allocations: 0.5984 MB / 1.233 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.6537, allocations: 1.474 MB / 1.235 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6537, allocations: 4 kB / 1.235 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6537, allocations: 0 / 1.235 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.6538, allocations: 0 / 1.235 GB, free: 2.859 MB / 0.9512 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.002958/0.6567, allocations: 1.662 MB / 1.236 GB, free: 1.145 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6568, allocations: 8.625 kB / 1.236 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.393e-05/0.6569, allocations: 82.66 kB / 1.236 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.6571, allocations: 144 kB / 1.236 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.6585, allocations: 0.8475 MB / 1.237 GB, free: 8 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.6585, allocations: 45.45 kB / 1.237 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.6586, allocations: 60.38 kB / 1.237 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.6595, allocations: 0.6215 MB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6595, allocations: 0 / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.6596, allocations: 16 kB / 1.238 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.6596, allocations: 15.98 kB / 1.238 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.6603, allocations: 0.5543 MB / 1.239 GB, free: 14.68 MB / 0.9669 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.004438/0.6648, allocations: 3.286 MB / 1.242 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.6662, allocations: 0.8456 MB / 1.243 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/0.6666, allocations: 369.3 kB / 1.243 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-05/0.6667, allocations: 24.36 kB / 1.243 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.6667, allocations: 38.94 kB / 1.243 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.6667, allocations: 0 / 1.243 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.00165/0.6684, allocations: 1.184 MB / 1.244 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.6684, allocations: 55.41 kB / 1.244 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.6699, allocations: 1.235 MB / 1.245 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.67, allocations: 37.7 kB / 1.245 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.6704, allocations: 473.3 kB / 1.246 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6705, allocations: 182.4 kB / 1.246 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.6708, allocations: 210.6 kB / 1.246 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6709, allocations: 349.9 kB / 1.247 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.6717, allocations: 0.6426 MB / 1.247 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009324/0.6726, allocations: 0.9786 MB / 1.248 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.6743, allocations: 1.582 MB / 1.25 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.6743, allocations: 4 kB / 1.25 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002204/0.6765, allocations: 1.784 MB / 1.252 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.6765, allocations: 12 kB / 1.252 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.6766, allocations: 15.98 kB / 1.252 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001839/0.6768, allocations: 48.77 kB / 1.252 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.6779, allocations: 268 kB / 1.252 GB, free: 472 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.6815, allocations: 6.84 MB / 1.259 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.6824, allocations: 131 kB / 1.259 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.6825, allocations: 43.98 kB / 1.259 GB, free: 9.117 MB / 0.9825 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.0003504/0.6828, allocations: 306.1 kB / 1.259 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.683, allocations: 119.1 kB / 1.259 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.6841, allocations: 0.8414 MB / 1.26 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6842, allocations: 4 kB / 1.26 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.6842, allocations: 7.875 kB / 1.26 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6842, allocations: 0 / 1.26 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009463/0.6851, allocations: 0.9189 MB / 1.261 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6851, allocations: 4 kB / 1.261 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005398/0.6857, allocations: 111.8 kB / 1.261 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.6858, allocations: 28.84 kB / 1.261 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.6859, allocations: 19.98 kB / 1.261 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009433/0.6868, allocations: 1.441 MB / 1.262 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6868, allocations: 0 / 1.262 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6884, allocations: 1.371 MB / 1.264 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.6888, allocations: 268.1 kB / 1.264 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.6889, allocations: 15.98 kB / 1.264 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005857/0.6895, allocations: 23.97 kB / 1.264 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.6896, allocations: 35.89 kB / 1.264 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.6896, allocations: 20 kB / 1.264 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001072/0.6907, allocations: 0.8115 MB / 1.265 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6907, allocations: 0 / 1.265 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009073/0.6916, allocations: 367.6 kB / 1.265 GB, free: 2.172 MB / 0.9825 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.00225/0.6939, allocations: 2.092 MB / 1.267 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.6962, allocations: 1.512 MB / 1.269 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6962, allocations: 4.125 kB / 1.269 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005555/0.6968, allocations: 482.1 kB / 1.269 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6978, allocations: 239 kB / 1.269 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.7114, allocations: 11.57 MB / 1.281 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.7121, allocations: 1.09 MB / 1.282 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004685/0.7126, allocations: 207.1 kB / 1.282 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.7131, allocations: 395.3 kB / 1.282 GB, free: 108 kB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.7131, allocations: 7.938 kB / 1.282 GB, free: 100 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04798/0.761, allocations: 24.16 MB / 1.306 GB, free: 8.262 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.39, allocations: 19.45 kB / 1.306 GB, free: 8.25 MB / 1.029 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches