Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_10_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.005804/0.005804, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001537/0.001537, allocations: 196.7 kB / 16.68 MB, free: 5.93 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.546/2.546, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.89 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7825/0.7846, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004295/0.789, allocations: 2.74 MB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004634/0.7936, allocations: 2.776 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.794, allocations: 11.94 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.7956, allocations: 499 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006325/0.7963, allocations: 250.9 kB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.7975, allocations: 404.1 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.7995, allocations: 1.521 MB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.7997, allocations: 150.2 kB / 1.174 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006934/0.8004, allocations: 470.8 kB / 1.175 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.801, allocations: 378.6 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/0.8011, allocations: 44 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.8013, allocations: 52 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.8016, allocations: 279.2 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.802, allocations: 370.2 kB / 1.176 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009925/0.803, allocations: 0.9108 MB / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.803, allocations: 0 / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.263e-06/0.803, allocations: 0 / 1.177 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.803, allocations: 4 kB / 1.177 GB, free: 8.953 MB / 0.9044 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.002108/0.8052, allocations: 1.171 MB / 1.178 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8052, allocations: 8.922 kB / 1.178 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.8053, allocations: 62.72 kB / 1.178 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.8054, allocations: 84.36 kB / 1.178 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.8065, allocations: 0.6804 MB / 1.179 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.8065, allocations: 28.94 kB / 1.179 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.8066, allocations: 44.36 kB / 1.179 GB, free: 6.781 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000631/0.8073, allocations: 382.7 kB / 1.179 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.8073, allocations: 3.938 kB / 1.179 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.8073, allocations: 4 kB / 1.179 GB, free: 6.379 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.8073, allocations: 8 kB / 1.179 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.8077, allocations: 237.5 kB / 1.179 GB, free: 6.141 MB / 0.9044 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.003622/0.8114, allocations: 2.455 MB / 1.182 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.8124, allocations: 398.3 kB / 1.182 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.8127, allocations: 140.8 kB / 1.182 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.8127, allocations: 4 kB / 1.182 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.8127, allocations: 30.56 kB / 1.182 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.8127, allocations: 0 / 1.182 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001045/0.8138, allocations: 0.5445 MB / 1.183 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.8138, allocations: 55.41 kB / 1.183 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.8151, allocations: 0.9415 MB / 1.184 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.8152, allocations: 33.7 kB / 1.184 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.8155, allocations: 308.7 kB / 1.184 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.724e-05/0.8156, allocations: 67.44 kB / 1.184 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.8158, allocations: 122.2 kB / 1.184 GB, free: 0.793 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002671/0.816, allocations: 386.7 kB / 1.185 GB, free: 412 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.8164, allocations: 240.9 kB / 1.185 GB, free: 168 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005859/0.817, allocations: 0.5051 MB / 1.185 GB, free: 15.54 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008625/0.8179, allocations: 0.6968 MB / 1.186 GB, free: 14.71 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8179, allocations: 4 kB / 1.186 GB, free: 14.71 MB / 0.92 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001289/0.8192, allocations: 0.8203 MB / 1.187 GB, free: 13.88 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8192, allocations: 8 kB / 1.187 GB, free: 13.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.8192, allocations: 8 kB / 1.187 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.8195, allocations: 56.77 kB / 1.187 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.8199, allocations: 144.1 kB / 1.187 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.8213, allocations: 1.546 MB / 1.189 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.822, allocations: 123.4 kB / 1.189 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.8221, allocations: 24 kB / 1.189 GB, free: 11.83 MB / 0.92 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.0003919/0.8225, allocations: 342.5 kB / 1.189 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.8226, allocations: 71.47 kB / 1.189 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.8227, allocations: 66 kB / 1.189 GB, free: 11.34 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.8227, allocations: 12 kB / 1.189 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8227, allocations: 0 / 1.189 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8227, allocations: 3.938 kB / 1.189 GB, free: 11.33 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.8234, allocations: 0.5714 MB / 1.19 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.8234, allocations: 7.938 kB / 1.19 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.8237, allocations: 51.95 kB / 1.19 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.8238, allocations: 40.83 kB / 1.19 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.8239, allocations: 11.98 kB / 1.19 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.8251, allocations: 1.527 MB / 1.191 GB, free: 8.93 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8251, allocations: 0 / 1.191 GB, free: 8.93 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008071/0.8259, allocations: 0.5737 MB / 1.192 GB, free: 8.336 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.8262, allocations: 204.6 kB / 1.192 GB, free: 8.117 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.8263, allocations: 8 kB / 1.192 GB, free: 8.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.8267, allocations: 55.92 kB / 1.192 GB, free: 8.055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.8268, allocations: 11.97 kB / 1.192 GB, free: 8.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.8268, allocations: 4 kB / 1.192 GB, free: 8.039 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009089/0.8277, allocations: 0.6629 MB / 1.193 GB, free: 7.379 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8277, allocations: 3.938 kB / 1.193 GB, free: 7.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006234/0.8283, allocations: 179.9 kB / 1.193 GB, free: 7.199 MB / 0.92 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.001147/0.8295, allocations: 1.121 MB / 1.194 GB, free: 6.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009954/0.8305, allocations: 0.5745 MB / 1.195 GB, free: 5.465 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8305, allocations: 0 / 1.195 GB, free: 5.465 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.8309, allocations: 246.5 kB / 1.195 GB, free: 5.211 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.8317, allocations: 176 kB / 1.195 GB, free: 5.047 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/0.8408, allocations: 6.932 MB / 1.202 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.8415, allocations: 1.003 MB / 1.203 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0004359/0.8419, allocations: 180.5 kB / 1.203 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.8423, allocations: 207.4 kB / 1.203 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.8423, allocations: 0 / 1.203 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.8852, allocations: 14.21 MB / 1.217 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.28, allocations: 0.5938 kB / 1.217 GB, free: 14.39 MB / 0.9512 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches