Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_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.001681/0.001681, allocations: 108 kB / 15.61 MB, free: 152 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.001906/0.001906, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.257/2.257, allocations: 390.3 MB / 0.6647 GB, free: 416 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.5285, allocations: 140.4 MB / 0.9497 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003065/0.5316, allocations: 2.723 MB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002891/0.5345, allocations: 2.789 MB / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.5346, allocations: 4.375 kB / 0.9551 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001129/0.5358, allocations: 0.49 MB / 0.9556 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.5362, allocations: 254 kB / 0.9558 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.5369, allocations: 396.1 kB / 0.9562 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.538, allocations: 1.532 MB / 0.9577 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.5382, allocations: 142.8 kB / 0.9578 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004458/0.5387, allocations: 471.4 kB / 0.9583 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.5391, allocations: 409 kB / 0.9587 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.5392, allocations: 52.84 kB / 0.9587 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.5394, allocations: 53.06 kB / 0.9588 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.5396, allocations: 258.1 kB / 0.959 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.5399, allocations: 376.7 kB / 0.9594 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.5405, allocations: 0.8987 MB / 0.9603 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5405, allocations: 0 / 0.9603 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5405, allocations: 0 / 0.9603 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.5405, allocations: 1.469 kB / 0.9603 GB, free: 1.656 MB / 0.7169 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.001691/0.5422, allocations: 1.15 MB / 0.9614 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.5422, allocations: 13.95 kB / 0.9614 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.5423, allocations: 59.7 kB / 0.9615 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5424, allocations: 78.38 kB / 0.9615 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007334/0.5431, allocations: 0.6541 MB / 0.9622 GB, free: 188 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.5432, allocations: 26.66 kB / 0.9622 GB, free: 176 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.5433, allocations: 39.47 kB / 0.9622 GB, free: 164 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000498/0.5438, allocations: 375.3 kB / 0.9626 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5438, allocations: 3.938 kB / 0.9626 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.5438, allocations: 10.12 kB / 0.9626 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5438, allocations: 6.344 kB / 0.9626 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.5442, allocations: 235.3 kB / 0.9628 GB, free: 15.78 MB / 0.7325 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.003396/0.5476, allocations: 2.457 MB / 0.9652 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009605/0.5486, allocations: 399 kB / 0.9656 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.5488, allocations: 133 kB / 0.9657 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.5488, allocations: 2.031 kB / 0.9657 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.5489, allocations: 39.69 kB / 0.9658 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.502e-06/0.5489, allocations: 1.062 kB / 0.9658 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0009337/0.5498, allocations: 0.5292 MB / 0.9663 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.5499, allocations: 57.53 kB / 0.9664 GB, free: 13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.551, allocations: 0.9339 MB / 0.9673 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.551, allocations: 40.61 kB / 0.9673 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.5513, allocations: 304.4 kB / 0.9676 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.5514, allocations: 64.09 kB / 0.9677 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.5515, allocations: 126.9 kB / 0.9678 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.5517, allocations: 384.2 kB / 0.9681 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.552, allocations: 240.3 kB / 0.9684 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.5525, allocations: 0.5 MB / 0.9689 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007724/0.5533, allocations: 0.7013 MB / 0.9695 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-06/0.5533, allocations: 3.281 kB / 0.9695 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00118/0.5545, allocations: 0.8091 MB / 0.9703 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.5546, allocations: 12.73 kB / 0.9703 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5546, allocations: 13.34 kB / 0.9704 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.5548, allocations: 55.89 kB / 0.9704 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.5552, allocations: 138.4 kB / 0.9705 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.5563, allocations: 1.543 MB / 0.9721 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.557, allocations: 129.8 kB / 0.9722 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.5571, allocations: 27.22 kB / 0.9722 GB, free: 8.395 MB / 0.7325 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.0003287/0.5574, allocations: 337.1 kB / 0.9725 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.893e-05/0.5575, allocations: 66.44 kB / 0.9726 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.5576, allocations: 71.16 kB / 0.9727 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5576, allocations: 2.312 kB / 0.9727 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5577, allocations: 8 kB / 0.9727 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5577, allocations: 1.281 kB / 0.9727 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.5583, allocations: 0.5708 MB / 0.9732 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5583, allocations: 3.938 kB / 0.9732 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.5586, allocations: 47.7 kB / 0.9733 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/0.5587, allocations: 39.67 kB / 0.9733 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.5587, allocations: 11.89 kB / 0.9733 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/0.5598, allocations: 1.529 MB / 0.9748 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5598, allocations: 0 / 0.9748 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.5605, allocations: 0.5719 MB / 0.9754 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.5608, allocations: 203.5 kB / 0.9756 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.5609, allocations: 7.844 kB / 0.9756 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003972/0.5613, allocations: 50.27 kB / 0.9756 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.5613, allocations: 13.42 kB / 0.9756 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.5613, allocations: 3.625 kB / 0.9756 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008529/0.5622, allocations: 0.6602 MB / 0.9763 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.5622, allocations: 0 / 0.9763 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006597/0.5629, allocations: 186.4 kB / 0.9765 GB, free: 5.055 MB / 0.7325 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.001045/0.5639, allocations: 1.124 MB / 0.9776 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008778/0.5648, allocations: 0.5999 MB / 0.9781 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5648, allocations: 0 / 0.9781 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.5652, allocations: 246.5 kB / 0.9784 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.566, allocations: 175.2 kB / 0.9785 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008366/0.5744, allocations: 7.033 MB / 0.9854 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.5749, allocations: 1.014 MB / 0.9864 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004003/0.5754, allocations: 184.5 kB / 0.9866 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.5757, allocations: 203.4 kB / 0.9868 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.5757, allocations: 0 / 0.9868 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.6096, allocations: 14.04 MB / 1 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.127/9.737, allocations: 8 kB / 1 GB, free: 12.54 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches