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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001425/0.001426, allocations: 108 kB / 15.61 MB, free: 144 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.001701/0.001701, allocations: 194 kB / 16.53 MB, free: 6.66 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.5 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2489, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005537/0.2544, allocations: 4.343 MB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004689/0.2592, allocations: 2.949 MB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005199/0.2597, allocations: 19.88 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009636/0.2607, allocations: 365.6 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.2621, allocations: 0.6526 MB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.2635, allocations: 0.6275 MB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.2654, allocations: 1.871 MB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.2657, allocations: 169.9 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008798/0.2666, allocations: 0.584 MB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009657/0.2676, allocations: 0.6772 MB / 1.076 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.2678, allocations: 80 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.2685, allocations: 411.4 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.2689, allocations: 450.6 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006724/0.2696, allocations: 0.5984 MB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.271, allocations: 1.456 MB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.271, allocations: 0 / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2711, allocations: 4 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.2711, allocations: 0 / 1.079 GB, free: 15.22 MB / 0.8419 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.003019/0.2741, allocations: 1.622 MB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2742, allocations: 8.031 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.267e-05/0.2743, allocations: 82.72 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.2745, allocations: 131.3 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.2758, allocations: 0.8153 MB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.2758, allocations: 49.36 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.2759, allocations: 60.38 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.2767, allocations: 0.6215 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2768, allocations: 0 / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/0.2768, allocations: 16 kB / 1.082 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.2768, allocations: 8 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.2776, allocations: 0.5582 MB / 1.082 GB, free: 11.12 MB / 0.8419 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.004516/0.2821, allocations: 3.282 MB / 1.086 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2835, allocations: 0.8539 MB / 1.086 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.284, allocations: 365.4 kB / 1.087 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.754e-05/0.2841, allocations: 32.25 kB / 1.087 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2841, allocations: 38.94 kB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.2841, allocations: 0 / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001658/0.2858, allocations: 1.176 MB / 1.088 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2858, allocations: 59.41 kB / 1.088 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.2874, allocations: 1.227 MB / 1.089 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.2875, allocations: 41.7 kB / 1.089 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.2878, allocations: 464.7 kB / 1.09 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.288, allocations: 181.5 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.2882, allocations: 206.5 kB / 1.09 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2884, allocations: 357.9 kB / 1.09 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007587/0.2891, allocations: 0.6426 MB / 1.091 GB, free: 1.895 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009488/0.2901, allocations: 0.9669 MB / 1.092 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.2917, allocations: 1.582 MB / 1.094 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2918, allocations: 4 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002378/0.2941, allocations: 1.779 MB / 1.095 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2942, allocations: 12.16 kB / 1.095 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.2942, allocations: 23.97 kB / 1.095 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/0.2944, allocations: 44.78 kB / 1.095 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.2956, allocations: 263.6 kB / 1.096 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.2996, allocations: 6.836 MB / 1.102 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009999/0.3006, allocations: 126.6 kB / 1.102 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.3007, allocations: 40 kB / 1.102 GB, free: 5.598 MB / 0.8575 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.0004208/0.3011, allocations: 311.3 kB / 1.103 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002291/0.3013, allocations: 118.4 kB / 1.103 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.3026, allocations: 0.8336 MB / 1.104 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3026, allocations: 7.984 kB / 1.104 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3026, allocations: 4 kB / 1.104 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3026, allocations: 3.984 kB / 1.104 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3037, allocations: 0.9149 MB / 1.105 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.3037, allocations: 0 / 1.105 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.3043, allocations: 119.8 kB / 1.105 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/0.3044, allocations: 32.83 kB / 1.105 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3044, allocations: 19.98 kB / 1.105 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009682/0.3054, allocations: 1.437 MB / 1.106 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3054, allocations: 4.156 kB / 1.106 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.3071, allocations: 1.366 MB / 1.108 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.3075, allocations: 267.6 kB / 1.108 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.3076, allocations: 12 kB / 1.108 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.3082, allocations: 27.95 kB / 1.108 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.3083, allocations: 35.91 kB / 1.108 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.3083, allocations: 12 kB / 1.108 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001105/0.3094, allocations: 0.8232 MB / 1.109 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3094, allocations: 0 / 1.109 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009664/0.3104, allocations: 367.7 kB / 1.109 GB, free: 14.65 MB / 0.8731 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.002293/0.3127, allocations: 2.069 MB / 1.111 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002551/0.3153, allocations: 1.617 MB / 1.113 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3153, allocations: 7.938 kB / 1.113 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.3159, allocations: 478 kB / 1.113 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3169, allocations: 222.8 kB / 1.113 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.3312, allocations: 12.02 MB / 1.125 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.3319, allocations: 1.094 MB / 1.126 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005499/0.3324, allocations: 207.1 kB / 1.126 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.3329, allocations: 399.3 kB / 1.127 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of SimCode: time 5.21e-07/0.3329, allocations: 0 / 1.127 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.3829, allocations: 23.88 MB / 1.15 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 1.719 kB / 1.15 GB, free: 4.344 MB / 0.9044 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