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.007296/0.007296, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.00182/0.001819, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.158/2.158, allocations: 390.3 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 59.89 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6675, allocations: 140.4 MB / 1.087 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00437/0.6719, allocations: 4.352 MB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.6762, allocations: 2.935 MB / 1.095 GB, free: 48 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.6766, allocations: 20.84 kB / 1.095 GB, free: 40 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.6776, allocations: 371.6 kB / 1.095 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.6789, allocations: 0.6495 MB / 1.096 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.6809, allocations: 0.6388 MB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.6834, allocations: 1.881 MB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.6837, allocations: 181 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.6846, allocations: 0.608 MB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000972/0.6856, allocations: 0.6503 MB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.6858, allocations: 76.59 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008056/0.6866, allocations: 412.4 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.6872, allocations: 465.3 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.6878, allocations: 0.6025 MB / 1.101 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.6897, allocations: 1.478 MB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6897, allocations: 0 / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6897, allocations: 0.5 kB / 1.102 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.09e-05/0.6897, allocations: 0 / 1.102 GB, free: 12.64 MB / 0.8731 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.003171/0.6929, allocations: 1.661 MB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.693, allocations: 9.281 kB / 1.104 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.512e-05/0.6931, allocations: 83.41 kB / 1.104 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.6933, allocations: 145 kB / 1.104 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.6947, allocations: 0.8418 MB / 1.105 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.6947, allocations: 47.66 kB / 1.105 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.6949, allocations: 65.97 kB / 1.105 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009386/0.6958, allocations: 0.6103 MB / 1.106 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.6958, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.6959, allocations: 21.42 kB / 1.106 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6959, allocations: 9.906 kB / 1.106 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.6967, allocations: 0.5555 MB / 1.106 GB, free: 10.45 MB / 0.8731 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.004552/0.7013, allocations: 3.284 MB / 1.11 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.7026, allocations: 0.8423 MB / 1.11 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.7033, allocations: 372.9 kB / 1.111 GB, free: 7.953 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.03e-05/0.7033, allocations: 25.75 kB / 1.111 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.7034, allocations: 36.84 kB / 1.111 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.7034, allocations: 1.344 kB / 1.111 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001811/0.7052, allocations: 1.187 MB / 1.112 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.7052, allocations: 57.27 kB / 1.112 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.7069, allocations: 1.23 MB / 1.113 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.707, allocations: 40.14 kB / 1.113 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.7073, allocations: 477.5 kB / 1.114 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7075, allocations: 182.5 kB / 1.114 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.7078, allocations: 208.8 kB / 1.114 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7079, allocations: 356.3 kB / 1.114 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/0.7088, allocations: 0.6408 MB / 1.115 GB, free: 5.758 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.7098, allocations: 0.9734 MB / 1.116 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.7116, allocations: 1.58 MB / 1.118 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.7116, allocations: 11.5 kB / 1.118 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002314/0.714, allocations: 1.793 MB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.714, allocations: 9.984 kB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.714, allocations: 16.92 kB / 1.119 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.7142, allocations: 44.59 kB / 1.119 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.7154, allocations: 261.3 kB / 1.12 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.7192, allocations: 6.843 MB / 1.126 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7202, allocations: 128.4 kB / 1.126 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.7203, allocations: 40.56 kB / 1.126 GB, free: 13.13 MB / 0.8887 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.0004018/0.7207, allocations: 304 kB / 1.127 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.7209, allocations: 127 kB / 1.127 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.7222, allocations: 0.8297 MB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.7222, allocations: 4.531 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7222, allocations: 1.094 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.7222, allocations: 2.062 kB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.7234, allocations: 0.9146 MB / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7234, allocations: 0 / 1.129 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.724, allocations: 114.5 kB / 1.129 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.7241, allocations: 31.44 kB / 1.129 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.7242, allocations: 17.39 kB / 1.129 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009303/0.7251, allocations: 1.438 MB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7251, allocations: 1 kB / 1.13 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.7268, allocations: 1.382 MB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.7273, allocations: 269.9 kB / 1.132 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.7275, allocations: 15.03 kB / 1.132 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.7281, allocations: 24.16 kB / 1.132 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/0.7282, allocations: 28.34 kB / 1.132 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.7283, allocations: 14.53 kB / 1.132 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001221/0.7295, allocations: 0.8237 MB / 1.133 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7295, allocations: 0 / 1.133 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001148/0.7307, allocations: 371.2 kB / 1.133 GB, free: 9.594 MB / 0.8887 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.0025/0.7332, allocations: 2.09 MB / 1.135 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002393/0.7356, allocations: 1.499 MB / 1.136 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7356, allocations: 0 / 1.136 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.7362, allocations: 487.1 kB / 1.137 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7373, allocations: 231 kB / 1.137 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.7528, allocations: 11.56 MB / 1.148 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.7536, allocations: 1.109 MB / 1.15 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000553/0.7541, allocations: 201 kB / 1.15 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/0.7547, allocations: 395.7 kB / 1.15 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.7547, allocations: 0 / 1.15 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05362/0.8083, allocations: 24.16 MB / 1.174 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.75, allocations: 4.062 kB / 1.174 GB, free: 4.375 MB / 0.9044 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