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.004743/0.004743, allocations: 103.5 kB / 15.73 MB, free: 6.035 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.001132/0.001132, allocations: 197.5 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.295/2.295, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 60.88 kB / 0.9504 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2313, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005334/0.2367, allocations: 4.359 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00457/0.2413, allocations: 2.939 MB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.2418, allocations: 23.88 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009318/0.2428, allocations: 361.7 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.2441, allocations: 0.6493 MB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.2455, allocations: 0.633 MB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.2474, allocations: 1.882 MB / 1.098 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.2477, allocations: 177.9 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008124/0.2485, allocations: 0.5878 MB / 1.099 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009233/0.2494, allocations: 0.6539 MB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.2496, allocations: 76 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006501/0.2503, allocations: 411.4 kB / 1.1 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.2507, allocations: 462.6 kB / 1.1 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006311/0.2514, allocations: 0.6023 MB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.2528, allocations: 1.468 MB / 1.102 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2528, allocations: 0 / 1.102 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2528, allocations: 4 kB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.725e-05/0.2528, allocations: 7.938 kB / 1.102 GB, free: 2.676 MB / 0.8575 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.002933/0.2558, allocations: 1.616 MB / 1.104 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2558, allocations: 8.031 kB / 1.104 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.134e-05/0.2559, allocations: 86.7 kB / 1.104 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.2561, allocations: 131.3 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.2575, allocations: 0.8425 MB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.2575, allocations: 49.38 kB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/0.2576, allocations: 60.38 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.2585, allocations: 0.6138 MB / 1.106 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2585, allocations: 3.938 kB / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.2586, allocations: 20 kB / 1.106 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2586, allocations: 11.98 kB / 1.106 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.2593, allocations: 0.5621 MB / 1.106 GB, free: 14.54 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.004306/0.2636, allocations: 3.263 MB / 1.109 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.265, allocations: 0.8404 MB / 1.11 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.2655, allocations: 373.3 kB / 1.111 GB, free: 9.812 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.2655, allocations: 24.27 kB / 1.111 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2656, allocations: 42.88 kB / 1.111 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.633e-06/0.2656, allocations: 0 / 1.111 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001667/0.2672, allocations: 1.176 MB / 1.112 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2673, allocations: 55.41 kB / 1.112 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.2688, allocations: 1.22 MB / 1.113 GB, free: 7.238 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2689, allocations: 41.7 kB / 1.113 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/0.2693, allocations: 472.7 kB / 1.114 GB, free: 6.723 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.2694, allocations: 169.5 kB / 1.114 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.2697, allocations: 218.5 kB / 1.114 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.2698, allocations: 353.9 kB / 1.114 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.2706, allocations: 0.6426 MB / 1.115 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009787/0.2716, allocations: 0.9708 MB / 1.116 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.2733, allocations: 1.586 MB / 1.117 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.2733, allocations: 4 kB / 1.117 GB, free: 2.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002216/0.2755, allocations: 1.783 MB / 1.119 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2756, allocations: 13.56 kB / 1.119 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.2756, allocations: 16.06 kB / 1.119 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.2758, allocations: 52.81 kB / 1.119 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.2769, allocations: 263.6 kB / 1.119 GB, free: 372 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.2808, allocations: 6.839 MB / 1.126 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008864/0.2817, allocations: 126.7 kB / 1.126 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.2818, allocations: 40 kB / 1.126 GB, free: 9.035 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.0003629/0.2821, allocations: 301.4 kB / 1.127 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.2823, allocations: 114.4 kB / 1.127 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.2835, allocations: 0.8454 MB / 1.128 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2836, allocations: 4 kB / 1.128 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2836, allocations: 0 / 1.128 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.2836, allocations: 0 / 1.128 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.2846, allocations: 0.919 MB / 1.128 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2846, allocations: 0 / 1.128 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.2851, allocations: 111.8 kB / 1.129 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.2853, allocations: 32.84 kB / 1.129 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.2853, allocations: 19.98 kB / 1.129 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009511/0.2863, allocations: 1.441 MB / 1.13 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2863, allocations: 0 / 1.13 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.2878, allocations: 1.366 MB / 1.131 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.2883, allocations: 271.5 kB / 1.132 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.2884, allocations: 15.98 kB / 1.132 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005747/0.289, allocations: 23.97 kB / 1.132 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2891, allocations: 27.95 kB / 1.132 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.2891, allocations: 12 kB / 1.132 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001106/0.2902, allocations: 0.8154 MB / 1.132 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2902, allocations: 0 / 1.132 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001007/0.2912, allocations: 371.7 kB / 1.133 GB, free: 2.109 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.002419/0.2936, allocations: 2.088 MB / 1.135 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002381/0.296, allocations: 1.501 MB / 1.136 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2961, allocations: 0 / 1.136 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.2966, allocations: 484.1 kB / 1.137 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2977, allocations: 230 kB / 1.137 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.312, allocations: 11.53 MB / 1.148 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/0.3128, allocations: 1.106 MB / 1.149 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004824/0.3132, allocations: 207.1 kB / 1.15 GB, free: 488 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.3137, allocations: 391.3 kB / 1.15 GB, free: 96 kB / 0.9044 GB Notification: Performance of SimCode: time 7.21e-07/0.3138, allocations: 4 kB / 1.15 GB, free: 92 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/0.3626, allocations: 24.15 MB / 1.173 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.25, allocations: 11.22 kB / 1.174 GB, free: 8.223 MB / 0.9356 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