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 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.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.007301/0.007301, allocations: 97.27 kB / 15.73 MB, free: 5.602 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.001979/0.00198, allocations: 193.4 kB / 16.68 MB, free: 5.523 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 482.4 MB / 0.7548 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.41 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.27, allocations: 162.2 MB / 1.241 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003941/0.274, allocations: 2.749 MB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00383/0.2778, allocations: 2.773 MB / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.278, allocations: 7.938 kB / 1.247 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2793, allocations: 0.4941 MB / 1.247 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.2798, allocations: 258.9 kB / 1.248 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.2806, allocations: 395 kB / 1.248 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001723/0.2824, allocations: 1.528 MB / 1.249 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.2826, allocations: 146.3 kB / 1.25 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.2832, allocations: 466.8 kB / 1.25 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005463/0.2838, allocations: 378.6 kB / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.2839, allocations: 48 kB / 1.25 GB, free: 36 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.284, allocations: 48.05 kB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.2843, allocations: 283.1 kB / 1.251 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000381/0.2847, allocations: 366.2 kB / 1.251 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009019/0.2856, allocations: 0.9108 MB / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2856, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2856, allocations: 0 / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.2857, allocations: 7.938 kB / 1.252 GB, free: 14.43 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.002041/0.2877, allocations: 1.171 MB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2877, allocations: 8.031 kB / 1.253 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.2878, allocations: 62.72 kB / 1.253 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.288, allocations: 84.42 kB / 1.253 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.289, allocations: 0.6726 MB / 1.254 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.289, allocations: 32.94 kB / 1.254 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.2891, allocations: 36.38 kB / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.2897, allocations: 386.6 kB / 1.254 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2897, allocations: 0 / 1.254 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.2897, allocations: 8 kB / 1.254 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2897, allocations: 8 kB / 1.254 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.2902, allocations: 237.4 kB / 1.255 GB, free: 11.62 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.003598/0.2938, allocations: 2.459 MB / 1.257 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.2948, allocations: 394.4 kB / 1.257 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.295, allocations: 140.8 kB / 1.257 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2951, allocations: 4 kB / 1.257 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2951, allocations: 34.5 kB / 1.258 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.313e-06/0.2951, allocations: 0 / 1.258 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001001/0.2961, allocations: 0.5362 MB / 1.258 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.2962, allocations: 55.41 kB / 1.258 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.2974, allocations: 0.9376 MB / 1.259 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.2975, allocations: 41.69 kB / 1.259 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.2977, allocations: 304.7 kB / 1.259 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/0.2978, allocations: 67.44 kB / 1.259 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.298, allocations: 126.2 kB / 1.26 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2982, allocations: 386.6 kB / 1.26 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.2986, allocations: 236.9 kB / 1.26 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.2992, allocations: 0.5014 MB / 1.261 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008986/0.3001, allocations: 0.7009 MB / 1.261 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3001, allocations: 0 / 1.261 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001266/0.3014, allocations: 0.8218 MB / 1.262 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3014, allocations: 8 kB / 1.262 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3014, allocations: 8 kB / 1.262 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.3016, allocations: 52.83 kB / 1.262 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.3021, allocations: 144 kB / 1.262 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3034, allocations: 1.55 MB / 1.264 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/0.3041, allocations: 123.4 kB / 1.264 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.3041, allocations: 28 kB / 1.264 GB, free: 1.309 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.0003641/0.3045, allocations: 341.9 kB / 1.264 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3046, allocations: 71.47 kB / 1.264 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.3048, allocations: 66 kB / 1.264 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3048, allocations: 4.062 kB / 1.264 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3048, allocations: 4 kB / 1.264 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3048, allocations: 0 / 1.264 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006789/0.3055, allocations: 0.5753 MB / 1.265 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3055, allocations: 3.938 kB / 1.265 GB, free: 188 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.3057, allocations: 51.89 kB / 1.265 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.3059, allocations: 40.83 kB / 1.265 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.3059, allocations: 11.98 kB / 1.265 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.3072, allocations: 1.523 MB / 1.267 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3072, allocations: 32 / 1.267 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008078/0.308, allocations: 0.5675 MB / 1.267 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.3083, allocations: 200.7 kB / 1.267 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.3083, allocations: 12.12 kB / 1.267 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.3088, allocations: 51.92 kB / 1.267 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.3088, allocations: 15.92 kB / 1.267 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3088, allocations: 7.984 kB / 1.267 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008943/0.3097, allocations: 0.659 MB / 1.268 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3097, allocations: 0 / 1.268 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005982/0.3103, allocations: 183.9 kB / 1.268 GB, free: 12.7 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.001134/0.3115, allocations: 1.119 MB / 1.269 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009075/0.3124, allocations: 0.5822 MB / 1.27 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3124, allocations: 0 / 1.27 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3128, allocations: 242.6 kB / 1.27 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.3136, allocations: 181.5 kB / 1.27 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009016/0.3226, allocations: 6.954 MB / 1.277 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.3233, allocations: 1.003 MB / 1.278 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003905/0.3237, allocations: 180.5 kB / 1.278 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.324, allocations: 207.4 kB / 1.278 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.324, allocations: 0 / 1.278 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.366, allocations: 14.21 MB / 1.292 GB, free: 3.875 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.69, allocations: 13.89 kB / 1.292 GB, free: 3.867 MB / 1.014 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 400 --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