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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005451/0.005451, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001586/0.001586, allocations: 198.9 kB / 16.67 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 482.4 MB / 0.7548 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 64.8 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.274, allocations: 162.2 MB / 1.241 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004005/0.2781, allocations: 2.753 MB / 1.244 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003913/0.282, allocations: 2.769 MB / 1.247 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.2822, allocations: 11.94 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.2835, allocations: 498 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.284, allocations: 254.9 kB / 1.248 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.2849, allocations: 405.8 kB / 1.248 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.2867, allocations: 1.536 MB / 1.249 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.2869, allocations: 130.3 kB / 1.25 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000617/0.2875, allocations: 470.8 kB / 1.25 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005658/0.2881, allocations: 386.6 kB / 1.25 GB, free: 104 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.2882, allocations: 44 kB / 1.25 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2883, allocations: 52 kB / 1.25 GB, free: 8 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.2887, allocations: 275.3 kB / 1.251 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003896/0.2891, allocations: 374.1 kB / 1.251 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.29, allocations: 0.9186 MB / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.29, allocations: 0 / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.29, allocations: 0 / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.29, allocations: 0 / 1.252 GB, free: 14.45 MB / 0.9825 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.002078/0.2921, allocations: 1.171 MB / 1.253 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2921, allocations: 8.031 kB / 1.253 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.318e-05/0.2922, allocations: 66.67 kB / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.2924, allocations: 84.41 kB / 1.253 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.2934, allocations: 0.6765 MB / 1.254 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.2934, allocations: 32.88 kB / 1.254 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.2935, allocations: 36.38 kB / 1.254 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.2941, allocations: 374.7 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2941, allocations: 4 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.2942, allocations: 8 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.2942, allocations: 15.92 kB / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.2946, allocations: 229.5 kB / 1.255 GB, free: 11.64 MB / 0.9825 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.003676/0.2983, allocations: 2.451 MB / 1.257 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.2994, allocations: 412.9 kB / 1.257 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.2996, allocations: 136.8 kB / 1.258 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2996, allocations: 4 kB / 1.258 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2997, allocations: 34.56 kB / 1.258 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2997, allocations: 0 / 1.258 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0009931/0.3007, allocations: 0.54 MB / 1.258 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.3007, allocations: 51.41 kB / 1.258 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.302, allocations: 0.9376 MB / 1.259 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.302, allocations: 37.7 kB / 1.259 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.3023, allocations: 296.8 kB / 1.259 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.3024, allocations: 75.41 kB / 1.259 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3026, allocations: 122.2 kB / 1.26 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.3028, allocations: 390.7 kB / 1.26 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.3032, allocations: 236.9 kB / 1.26 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.3038, allocations: 0.4975 MB / 1.261 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/0.3047, allocations: 0.6927 MB / 1.261 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3047, allocations: 4 kB / 1.261 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001281/0.306, allocations: 0.8177 MB / 1.262 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.306, allocations: 8 kB / 1.262 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.306, allocations: 8 kB / 1.262 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.3062, allocations: 61.44 kB / 1.262 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004871/0.3067, allocations: 147.7 kB / 1.262 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.3081, allocations: 1.542 MB / 1.264 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.3088, allocations: 127.4 kB / 1.264 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.3088, allocations: 24 kB / 1.264 GB, free: 1.336 MB / 0.9825 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.0003677/0.3092, allocations: 341.9 kB / 1.264 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.3093, allocations: 75.56 kB / 1.264 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.3094, allocations: 66 kB / 1.264 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3094, allocations: 4 kB / 1.264 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3095, allocations: 3.938 kB / 1.264 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3095, allocations: 0 / 1.264 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.3101, allocations: 0.5753 MB / 1.265 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3102, allocations: 3.938 kB / 1.265 GB, free: 212 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.3104, allocations: 51.89 kB / 1.265 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.3106, allocations: 44.83 kB / 1.265 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.3106, allocations: 8 kB / 1.265 GB, free: 104 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.3119, allocations: 1.523 MB / 1.267 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3119, allocations: 0 / 1.267 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008117/0.3127, allocations: 0.5713 MB / 1.267 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.313, allocations: 196.8 kB / 1.267 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.3131, allocations: 15.98 kB / 1.267 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.3135, allocations: 51.86 kB / 1.267 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.3135, allocations: 7.984 kB / 1.267 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3136, allocations: 8 kB / 1.267 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008955/0.3145, allocations: 0.659 MB / 1.268 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3145, allocations: 0 / 1.268 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006167/0.3151, allocations: 183.9 kB / 1.268 GB, free: 12.72 MB / 0.9981 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.001144/0.3162, allocations: 1.123 MB / 1.269 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009139/0.3172, allocations: 0.5815 MB / 1.27 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3172, allocations: 0.8125 kB / 1.27 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.3175, allocations: 250.5 kB / 1.27 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.3184, allocations: 170.9 kB / 1.27 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009094/0.3275, allocations: 6.95 MB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.3282, allocations: 1.01 MB / 1.278 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003944/0.3286, allocations: 180.5 kB / 1.278 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.3289, allocations: 207.4 kB / 1.278 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.3289, allocations: 0 / 1.278 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.3718, allocations: 14.21 MB / 1.292 GB, free: 3.891 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.66, allocations: 8.5 kB / 1.292 GB, free: 3.887 MB / 1.014 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 400 --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