Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.006937/0.006937, allocations: 98.83 kB / 15.73 MB, free: 6.031 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.001658/0.001658, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.539/2.539, allocations: 469.4 MB / 0.7422 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 59.91 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7031, allocations: 159.1 MB / 1.22 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003719/0.7069, allocations: 2.741 MB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.7106, allocations: 2.783 MB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.7108, allocations: 11.94 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.7121, allocations: 487 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.7127, allocations: 258.9 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.7136, allocations: 399 kB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.7152, allocations: 1.539 MB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.7154, allocations: 138.2 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.7161, allocations: 486.7 kB / 1.228 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000527/0.7166, allocations: 382.6 kB / 1.229 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.602e-05/0.7167, allocations: 48 kB / 1.229 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.7168, allocations: 48 kB / 1.229 GB, free: 9 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.7171, allocations: 271.2 kB / 1.229 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.7175, allocations: 374.2 kB / 1.229 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.7183, allocations: 0.9147 MB / 1.23 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.7183, allocations: 3.938 kB / 1.23 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7184, allocations: 0 / 1.23 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.7184, allocations: 0 / 1.23 GB, free: 7.445 MB / 0.9512 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.002003/0.7204, allocations: 1.167 MB / 1.231 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.7204, allocations: 12.03 kB / 1.231 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.558e-05/0.7205, allocations: 58.73 kB / 1.231 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.7206, allocations: 80.42 kB / 1.232 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.7217, allocations: 0.6804 MB / 1.232 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.7217, allocations: 28.94 kB / 1.232 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/0.7218, allocations: 44.34 kB / 1.232 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.7223, allocations: 382.6 kB / 1.233 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.7224, allocations: 4 kB / 1.233 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.7224, allocations: 8 kB / 1.233 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.7224, allocations: 8 kB / 1.233 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.7228, allocations: 229.5 kB / 1.233 GB, free: 4.645 MB / 0.9512 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.003455/0.7262, allocations: 2.456 MB / 1.235 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.7272, allocations: 402.4 kB / 1.236 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.7275, allocations: 134.3 kB / 1.236 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.7275, allocations: 4 kB / 1.236 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.7275, allocations: 38.55 kB / 1.236 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.7275, allocations: 0 / 1.236 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0009382/0.7285, allocations: 0.5382 MB / 1.236 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.7285, allocations: 51.41 kB / 1.236 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7296, allocations: 0.9376 MB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.7297, allocations: 37.7 kB / 1.237 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.7299, allocations: 304.8 kB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.73, allocations: 67.38 kB / 1.238 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.7301, allocations: 126.2 kB / 1.238 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.7303, allocations: 386.7 kB / 1.238 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.7306, allocations: 240.9 kB / 1.238 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.7311, allocations: 0.4975 MB / 1.239 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007797/0.7319, allocations: 0.701 MB / 1.24 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7319, allocations: 0 / 1.24 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001169/0.7331, allocations: 0.8138 MB / 1.24 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.7331, allocations: 13.81 kB / 1.24 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.7331, allocations: 8 kB / 1.24 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.7333, allocations: 61.38 kB / 1.24 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.7338, allocations: 135.8 kB / 1.241 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.735, allocations: 1.542 MB / 1.242 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.7356, allocations: 123.4 kB / 1.242 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.7357, allocations: 31.94 kB / 1.242 GB, free: 10.34 MB / 0.9669 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.000313/0.736, allocations: 341.9 kB / 1.243 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.7361, allocations: 75.56 kB / 1.243 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.7362, allocations: 66 kB / 1.243 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7362, allocations: 4 kB / 1.243 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.7362, allocations: 0 / 1.243 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7362, allocations: 3.984 kB / 1.243 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.7368, allocations: 0.5714 MB / 1.243 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7368, allocations: 3.938 kB / 1.243 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.7371, allocations: 51.95 kB / 1.243 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.7372, allocations: 48.81 kB / 1.243 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.7373, allocations: 8 kB / 1.243 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.7383, allocations: 1.523 MB / 1.245 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7383, allocations: 4.031 kB / 1.245 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.739, allocations: 0.5717 MB / 1.245 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.7393, allocations: 200.6 kB / 1.246 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/0.7394, allocations: 16.08 kB / 1.246 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.7398, allocations: 51.86 kB / 1.246 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.7399, allocations: 7.984 kB / 1.246 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.7399, allocations: 8 kB / 1.246 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007993/0.7407, allocations: 0.659 MB / 1.246 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.583e-06/0.7407, allocations: 0 / 1.246 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005975/0.7413, allocations: 187.8 kB / 1.247 GB, free: 5.715 MB / 0.9669 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.0009844/0.7423, allocations: 1.129 MB / 1.248 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008256/0.7432, allocations: 0.5701 MB / 1.248 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7432, allocations: 0.75 kB / 1.248 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.7435, allocations: 254.5 kB / 1.248 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/0.7443, allocations: 173.3 kB / 1.249 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008042/0.7523, allocations: 6.945 MB / 1.255 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.7529, allocations: 1.007 MB / 1.256 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003873/0.7533, allocations: 188.5 kB / 1.257 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/0.7536, allocations: 199.4 kB / 1.257 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.7536, allocations: 0 / 1.257 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03463/0.7883, allocations: 14.2 MB / 1.271 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.814/10.6, allocations: 16.56 kB / 1.271 GB, free: 12.89 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_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_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches