Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.001622/0.001622, allocations: 108 kB / 15.6 MB, free: 132 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.001908/0.001908, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.742 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 70.03 kB / 0.9082 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003588/0.2508, allocations: 2.739 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003479/0.2543, allocations: 2.78 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2544, allocations: 11.94 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.2557, allocations: 0.4902 MB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.2561, allocations: 260.4 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/0.2569, allocations: 394.9 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2583, allocations: 1.523 MB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.2585, allocations: 138.3 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.259, allocations: 474.8 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.2595, allocations: 414.6 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.744e-05/0.2596, allocations: 55.88 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.2598, allocations: 55.94 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.26, allocations: 263.3 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.2604, allocations: 370.2 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.261, allocations: 0.8957 MB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2611, allocations: 7.938 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2611, allocations: 0 / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.2611, allocations: 4 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001853/0.2629, allocations: 1.142 MB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.263, allocations: 12.03 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/0.263, allocations: 58.72 kB / 1.075 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2632, allocations: 80 kB / 1.075 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008574/0.264, allocations: 0.6525 MB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2641, allocations: 28.94 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.418e-05/0.2641, allocations: 36.38 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.2646, allocations: 378.6 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2647, allocations: 4 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.2647, allocations: 8 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2647, allocations: 8 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.2651, allocations: 237.5 kB / 1.077 GB, free: 0.918 MB / 0.8262 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.003315/0.2684, allocations: 2.455 MB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.2694, allocations: 399.9 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.2696, allocations: 140.8 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2697, allocations: 7.922 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2697, allocations: 34.56 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.2697, allocations: 0 / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009117/0.2706, allocations: 0.5241 MB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.2707, allocations: 59.41 kB / 1.08 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2717, allocations: 0.9452 MB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2718, allocations: 33.7 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.272, allocations: 296.5 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.2721, allocations: 78.94 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2722, allocations: 122.2 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2724, allocations: 378.7 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.2727, allocations: 240.9 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004924/0.2732, allocations: 0.5014 MB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/0.274, allocations: 0.6969 MB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.274, allocations: 4 kB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001137/0.2752, allocations: 0.8096 MB / 1.084 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2752, allocations: 12 kB / 1.084 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.2752, allocations: 15.92 kB / 1.084 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.2754, allocations: 53.3 kB / 1.084 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.2759, allocations: 147.7 kB / 1.085 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.277, allocations: 1.535 MB / 1.086 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006585/0.2777, allocations: 127.1 kB / 1.086 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.2777, allocations: 28 kB / 1.086 GB, free: 6.625 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0003202/0.278, allocations: 337.5 kB / 1.086 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.2782, allocations: 67.28 kB / 1.087 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.2783, allocations: 66 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2783, allocations: 4 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2783, allocations: 0 / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2783, allocations: 0 / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.2789, allocations: 0.583 MB / 1.087 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2789, allocations: 3.938 kB / 1.087 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.2792, allocations: 51.89 kB / 1.087 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.2793, allocations: 40.83 kB / 1.087 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2793, allocations: 8 kB / 1.087 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.2803, allocations: 1.534 MB / 1.089 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2804, allocations: 0 / 1.089 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.2811, allocations: 0.562 MB / 1.089 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.2813, allocations: 204.2 kB / 1.09 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.2814, allocations: 15.94 kB / 1.09 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.2818, allocations: 47.86 kB / 1.09 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.2819, allocations: 11.98 kB / 1.09 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.2819, allocations: 7.938 kB / 1.09 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007761/0.2827, allocations: 0.6629 MB / 1.09 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2827, allocations: 0 / 1.09 GB, free: 2.191 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006013/0.2833, allocations: 183.8 kB / 1.09 GB, free: 2.012 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0009642/0.2843, allocations: 1.113 MB / 1.092 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008633/0.2851, allocations: 0.6055 MB / 1.092 GB, free: 264 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2851, allocations: 320 / 1.092 GB, free: 264 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.2855, allocations: 254.5 kB / 1.092 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007891/0.2863, allocations: 166.8 kB / 1.093 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.2945, allocations: 7.032 MB / 1.099 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.2951, allocations: 1.006 MB / 1.1 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004261/0.2955, allocations: 184.5 kB / 1.101 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/0.2958, allocations: 203.4 kB / 1.101 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.2958, allocations: 0 / 1.101 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03856/0.3344, allocations: 14.04 MB / 1.114 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.985/9.32, allocations: 6.984 kB / 1.114 GB, free: 9.238 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches