Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_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.001482/0.001482, 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.00193/0.00193, allocations: 194.7 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.675/2.675, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002273, allocations: 71.92 kB / 0.9083 GB, free: 34.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2843, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004004/0.2884, allocations: 2.747 MB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.2923, allocations: 2.777 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.2926, allocations: 4 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.294, allocations: 0.498 MB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.2946, allocations: 254.8 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.2955, allocations: 397.4 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.2971, allocations: 1.525 MB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.2974, allocations: 138.3 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.298, allocations: 474.8 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006014/0.2987, allocations: 410.6 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.2988, allocations: 51.94 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.299, allocations: 52 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.2992, allocations: 267.3 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.2997, allocations: 374.2 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007827/0.3005, allocations: 0.8956 MB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3005, allocations: 0 / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3005, allocations: 0 / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.3005, allocations: 0 / 1.074 GB, free: 3.684 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.002134/0.3027, allocations: 1.148 MB / 1.075 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3027, allocations: 12.03 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.883e-05/0.3028, allocations: 62.72 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.3029, allocations: 80 kB / 1.075 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009904/0.3039, allocations: 0.6564 MB / 1.076 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.304, allocations: 24.94 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.304, allocations: 40.38 kB / 1.076 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.3046, allocations: 374.6 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3046, allocations: 4 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3047, allocations: 12 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.3047, allocations: 4 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.3051, allocations: 237.5 kB / 1.077 GB, free: 0.9219 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.003655/0.3088, allocations: 2.455 MB / 1.079 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.3098, allocations: 406.3 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3101, allocations: 140.8 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3101, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3101, allocations: 30.56 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3101, allocations: 4 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009693/0.3111, allocations: 0.5319 MB / 1.08 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3111, allocations: 59.34 kB / 1.08 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.3123, allocations: 0.9336 MB / 1.081 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.3124, allocations: 33.7 kB / 1.081 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.3126, allocations: 300.5 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.098e-05/0.3127, allocations: 78.94 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3129, allocations: 122.2 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.313, allocations: 382.7 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.3134, allocations: 236.9 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.3139, allocations: 0.5014 MB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/0.3147, allocations: 0.6973 MB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.413e-06/0.3147, allocations: 8 kB / 1.084 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001222/0.316, allocations: 0.806 MB / 1.084 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.316, allocations: 8.156 kB / 1.084 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.316, allocations: 23.98 kB / 1.084 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.3162, allocations: 52.77 kB / 1.084 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.3167, allocations: 139.8 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.3179, allocations: 1.531 MB / 1.086 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.3186, allocations: 135.1 kB / 1.086 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.3187, allocations: 32.12 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.0003595/0.3191, allocations: 341.4 kB / 1.086 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3192, allocations: 59.19 kB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.3193, allocations: 73.98 kB / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3193, allocations: 0 / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3193, allocations: 0 / 1.087 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3193, allocations: 4 kB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006715/0.32, allocations: 0.5791 MB / 1.087 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.32, allocations: 7.938 kB / 1.087 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.3203, allocations: 47.95 kB / 1.087 GB, free: 5.453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.3204, allocations: 36.83 kB / 1.087 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.3205, allocations: 8 kB / 1.087 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3216, allocations: 1.538 MB / 1.089 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3216, allocations: 0 / 1.089 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.3224, allocations: 0.5676 MB / 1.089 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.3227, allocations: 204.2 kB / 1.09 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.079e-05/0.3228, allocations: 8 kB / 1.09 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.3232, allocations: 43.86 kB / 1.09 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.3232, allocations: 15.92 kB / 1.09 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3233, allocations: 4 kB / 1.09 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008767/0.3241, allocations: 0.6629 MB / 1.09 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.61e-07/0.3242, allocations: 4 kB / 1.09 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006589/0.3248, allocations: 179.8 kB / 1.09 GB, free: 2.02 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.001058/0.3259, allocations: 1.119 MB / 1.092 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009584/0.3268, allocations: 0.5976 MB / 1.092 GB, free: 272 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3269, allocations: 0 / 1.092 GB, free: 272 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.3272, allocations: 250.5 kB / 1.092 GB, free: 8 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.3281, allocations: 180.2 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.009507/0.3376, allocations: 7.028 MB / 1.099 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/0.3383, allocations: 1.01 MB / 1.1 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004444/0.3387, allocations: 176.5 kB / 1.101 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.339, allocations: 199.4 kB / 1.101 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.339, allocations: 0 / 1.101 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03738/0.3764, allocations: 14.05 MB / 1.114 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.133/9.509, allocations: 11.67 kB / 1.114 GB, free: 9.234 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches