Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001557/0.001557, allocations: 108 kB / 15.61 MB, free: 148 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.001897/0.001897, allocations: 193.2 kB / 16.53 MB, free: 6.656 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.499/2.499, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 67.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5897, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004041/0.5938, allocations: 2.741 MB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003804/0.5976, allocations: 2.791 MB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.5979, allocations: 7.938 kB / 1.023 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.5994, allocations: 486.1 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.6, allocations: 258.8 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009148/0.6009, allocations: 402.8 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.6025, allocations: 1.528 MB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.6028, allocations: 142.2 kB / 1.026 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006786/0.6035, allocations: 470.8 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000645/0.6041, allocations: 410.6 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.6042, allocations: 48 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.6044, allocations: 52 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002916/0.6047, allocations: 263.3 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004179/0.6051, allocations: 374.2 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007532/0.6059, allocations: 0.8996 MB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6059, allocations: 0 / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6059, allocations: 4 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.6059, allocations: 0 / 1.028 GB, free: 7.613 MB / 0.7794 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.002203/0.6082, allocations: 1.148 MB / 1.029 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.6082, allocations: 8.031 kB / 1.029 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.448e-05/0.6083, allocations: 62.72 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.6085, allocations: 80 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.6095, allocations: 0.6486 MB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.6095, allocations: 28.94 kB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.6096, allocations: 40.38 kB / 1.03 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.6101, allocations: 378.6 kB / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.6102, allocations: 0 / 1.03 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.6102, allocations: 8 kB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6102, allocations: 8 kB / 1.03 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/0.6106, allocations: 237.5 kB / 1.031 GB, free: 4.859 MB / 0.7794 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.003499/0.6141, allocations: 2.459 MB / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/0.6151, allocations: 402.4 kB / 1.033 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.6153, allocations: 136.8 kB / 1.033 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.6153, allocations: 4 kB / 1.033 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.6154, allocations: 30.56 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.6154, allocations: 0 / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009252/0.6163, allocations: 0.5354 MB / 1.034 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.6163, allocations: 55.41 kB / 1.034 GB, free: 1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.6175, allocations: 0.9337 MB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.6175, allocations: 37.7 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.6178, allocations: 308.3 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.6179, allocations: 63.09 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.618, allocations: 126.1 kB / 1.035 GB, free: 15.52 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6182, allocations: 386.7 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.6186, allocations: 240.9 kB / 1.036 GB, free: 14.89 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.6191, allocations: 0.5014 MB / 1.037 GB, free: 14.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.6199, allocations: 0.6999 MB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.6199, allocations: 8 kB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001168/0.6211, allocations: 0.8149 MB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6211, allocations: 11.98 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.6211, allocations: 8 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.6213, allocations: 57.33 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.6218, allocations: 139.8 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/0.623, allocations: 1.538 MB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006677/0.6237, allocations: 123.2 kB / 1.04 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.6237, allocations: 28 kB / 1.04 GB, free: 10.57 MB / 0.795 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.0003221/0.624, allocations: 345.3 kB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.756e-05/0.6241, allocations: 71.19 kB / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.6243, allocations: 66 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.6243, allocations: 4 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.6243, allocations: 0 / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.6243, allocations: 0 / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.6249, allocations: 0.5752 MB / 1.041 GB, free: 9.449 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6249, allocations: 3.938 kB / 1.041 GB, free: 9.445 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.6252, allocations: 51.95 kB / 1.041 GB, free: 9.395 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.6253, allocations: 40.83 kB / 1.041 GB, free: 9.352 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.6253, allocations: 11.98 kB / 1.041 GB, free: 9.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.6264, allocations: 1.523 MB / 1.043 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6264, allocations: 0 / 1.043 GB, free: 7.68 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/0.6272, allocations: 0.5706 MB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.6274, allocations: 200.3 kB / 1.043 GB, free: 6.875 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.6275, allocations: 8 kB / 1.043 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.6279, allocations: 43.86 kB / 1.043 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.628, allocations: 15.98 kB / 1.043 GB, free: 6.809 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.628, allocations: 4 kB / 1.043 GB, free: 6.805 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008045/0.6288, allocations: 0.6629 MB / 1.044 GB, free: 6.148 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6288, allocations: 3.938 kB / 1.044 GB, free: 6.145 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006025/0.6294, allocations: 183.8 kB / 1.044 GB, free: 5.965 MB / 0.795 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.0009894/0.6304, allocations: 1.118 MB / 1.045 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008875/0.6313, allocations: 0.5997 MB / 1.046 GB, free: 4.207 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6313, allocations: 4.375 kB / 1.046 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.6316, allocations: 250.5 kB / 1.046 GB, free: 3.945 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/0.6325, allocations: 178.4 kB / 1.046 GB, free: 3.773 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/0.6409, allocations: 7.046 MB / 1.053 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005665/0.6415, allocations: 1.006 MB / 1.054 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000425/0.642, allocations: 184.5 kB / 1.054 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.6423, allocations: 203.4 kB / 1.054 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.6423, allocations: 0 / 1.054 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05312/0.6954, allocations: 14.04 MB / 1.068 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.907/9.602, allocations: 5.25 kB / 1.068 GB, free: 13.17 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_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_ConductorMultiLayer3.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches