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.009155/0.009155, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.002257/0.002257, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.388/2.388, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6473, allocations: 151.6 MB / 1.166 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005183/0.6526, allocations: 4.36 MB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004655/0.6572, allocations: 2.946 MB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.6577, allocations: 19.88 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.6588, allocations: 373.6 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.6601, allocations: 0.643 MB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.6615, allocations: 0.6325 MB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.6634, allocations: 1.878 MB / 1.177 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002676/0.6637, allocations: 181.7 kB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006493/0.6644, allocations: 0.6035 MB / 1.177 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007691/0.6652, allocations: 0.6576 MB / 1.178 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.6653, allocations: 76 kB / 1.178 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.666, allocations: 415.4 kB / 1.179 GB, free: 6.992 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.6664, allocations: 462.7 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/0.6669, allocations: 0.6062 MB / 1.18 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.6683, allocations: 1.478 MB / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6683, allocations: 0 / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6683, allocations: 0 / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.6683, allocations: 0 / 1.181 GB, free: 4.445 MB / 0.9044 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.002782/0.6711, allocations: 1.654 MB / 1.183 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6712, allocations: 16.86 kB / 1.183 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.081e-05/0.6712, allocations: 82.72 kB / 1.183 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.6714, allocations: 144 kB / 1.183 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.6727, allocations: 0.8514 MB / 1.184 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.6728, allocations: 41.38 kB / 1.184 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.6729, allocations: 64.38 kB / 1.184 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008288/0.6737, allocations: 0.6176 MB / 1.184 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.6737, allocations: 4 kB / 1.184 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.6738, allocations: 19.94 kB / 1.184 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6738, allocations: 8 kB / 1.184 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.6745, allocations: 0.5621 MB / 1.185 GB, free: 256 kB / 0.9044 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.00415/0.6787, allocations: 3.275 MB / 1.188 GB, free: 12.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.68, allocations: 0.8557 MB / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.6804, allocations: 361.4 kB / 1.189 GB, free: 11.51 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.6805, allocations: 24.36 kB / 1.189 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.6805, allocations: 38.94 kB / 1.189 GB, free: 11.44 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.6805, allocations: 0 / 1.189 GB, free: 11.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.001594/0.6821, allocations: 1.187 MB / 1.191 GB, free: 10.22 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.6822, allocations: 55.41 kB / 1.191 GB, free: 10.16 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6836, allocations: 1.231 MB / 1.192 GB, free: 8.914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.6836, allocations: 41.7 kB / 1.192 GB, free: 8.867 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.684, allocations: 477.3 kB / 1.192 GB, free: 8.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.6841, allocations: 182.4 kB / 1.193 GB, free: 8.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.6844, allocations: 210.6 kB / 1.193 GB, free: 8.004 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.6845, allocations: 353.9 kB / 1.193 GB, free: 7.652 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.6853, allocations: 0.6426 MB / 1.194 GB, free: 7.012 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.6863, allocations: 0.9708 MB / 1.195 GB, free: 5.891 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.6879, allocations: 1.586 MB / 1.196 GB, free: 4.164 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.6879, allocations: 8 kB / 1.196 GB, free: 4.156 MB / 0.92 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002203/0.6901, allocations: 1.784 MB / 1.198 GB, free: 2.363 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6902, allocations: 11.98 kB / 1.198 GB, free: 2.352 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.6902, allocations: 12 kB / 1.198 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.6904, allocations: 44.84 kB / 1.198 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.6915, allocations: 267.6 kB / 1.198 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.6952, allocations: 6.836 MB / 1.205 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/0.6961, allocations: 139 kB / 1.205 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.6962, allocations: 36 kB / 1.205 GB, free: 10.7 MB / 0.9356 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.0003703/0.6966, allocations: 305.6 kB / 1.205 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6967, allocations: 123.1 kB / 1.206 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.6979, allocations: 0.8388 MB / 1.206 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6979, allocations: 7.938 kB / 1.206 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6979, allocations: 0 / 1.206 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6979, allocations: 3.984 kB / 1.206 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.6989, allocations: 0.9113 MB / 1.207 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6989, allocations: 0 / 1.207 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.6994, allocations: 111.9 kB / 1.207 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.6995, allocations: 36.77 kB / 1.207 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.6996, allocations: 19.98 kB / 1.207 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000966/0.7006, allocations: 1.43 MB / 1.209 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7006, allocations: 0 / 1.209 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.7021, allocations: 1.378 MB / 1.21 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.7026, allocations: 268.1 kB / 1.21 GB, free: 5.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.7027, allocations: 19.94 kB / 1.21 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.7032, allocations: 27.95 kB / 1.21 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.7033, allocations: 23.97 kB / 1.21 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.7033, allocations: 12 kB / 1.21 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001041/0.7044, allocations: 0.8271 MB / 1.211 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7044, allocations: 0 / 1.211 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008994/0.7053, allocations: 367.6 kB / 1.212 GB, free: 3.754 MB / 0.9356 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.002198/0.7075, allocations: 2.1 MB / 1.214 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.7097, allocations: 1.503 MB / 1.215 GB, free: 104 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7097, allocations: 0 / 1.215 GB, free: 104 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/0.7103, allocations: 490.6 kB / 1.216 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.7113, allocations: 217.9 kB / 1.216 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.7252, allocations: 11.56 MB / 1.227 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.7259, allocations: 1.106 MB / 1.228 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004543/0.7264, allocations: 199.1 kB / 1.228 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004889/0.7269, allocations: 395.8 kB / 1.229 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.7269, allocations: 0 / 1.229 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.7758, allocations: 24.16 MB / 1.252 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.56, allocations: 23.12 kB / 1.252 GB, free: 9.836 MB / 0.9825 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