Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_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.007406/0.007406, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001861/0.001861, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 61.5 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2435, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003751/0.2473, allocations: 2.739 MB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003776/0.2511, allocations: 2.783 MB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.2513, allocations: 7.938 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.2527, allocations: 0.4902 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005538/0.2533, allocations: 262.9 kB / 1.094 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.2542, allocations: 405.1 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.2559, allocations: 1.524 MB / 1.095 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.2561, allocations: 146.3 kB / 1.096 GB, free: 9.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006931/0.2568, allocations: 478.8 kB / 1.096 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.2574, allocations: 386.6 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.805e-05/0.2575, allocations: 44 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2576, allocations: 52 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.2579, allocations: 271.3 kB / 1.097 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.2583, allocations: 374.2 kB / 1.097 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008579/0.2592, allocations: 0.9108 MB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/0.2592, allocations: 0 / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2592, allocations: 3.938 kB / 1.098 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.2593, allocations: 4 kB / 1.098 GB, free: 7.18 MB / 0.8575 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.002129/0.2614, allocations: 1.167 MB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2614, allocations: 8.031 kB / 1.099 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.2615, allocations: 66.72 kB / 1.099 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.2617, allocations: 76.47 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.2627, allocations: 0.6804 MB / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2628, allocations: 28.94 kB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.2629, allocations: 36.38 kB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.2634, allocations: 378.7 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2634, allocations: 7.938 kB / 1.1 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.2635, allocations: 8 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.2635, allocations: 8 kB / 1.1 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.2639, allocations: 233.5 kB / 1.101 GB, free: 4.375 MB / 0.8575 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.0036/0.2675, allocations: 2.455 MB / 1.103 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.2685, allocations: 402.3 kB / 1.103 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2687, allocations: 140.7 kB / 1.104 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.2688, allocations: 8 kB / 1.104 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2688, allocations: 30.88 kB / 1.104 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.2688, allocations: 3.938 kB / 1.104 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.0009522/0.2698, allocations: 0.5354 MB / 1.104 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2698, allocations: 55.41 kB / 1.104 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.271, allocations: 0.9415 MB / 1.105 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.271, allocations: 37.7 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.2713, allocations: 304.8 kB / 1.105 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.2713, allocations: 71.39 kB / 1.105 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2715, allocations: 122.2 kB / 1.106 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2717, allocations: 382.7 kB / 1.106 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.272, allocations: 232.9 kB / 1.106 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.2726, allocations: 0.5053 MB / 1.107 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.2734, allocations: 0.7 MB / 1.107 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.2734, allocations: 4 kB / 1.107 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001214/0.2746, allocations: 0.8159 MB / 1.108 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2746, allocations: 12 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.2747, allocations: 8 kB / 1.108 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/0.2749, allocations: 56.77 kB / 1.108 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.2753, allocations: 140 kB / 1.108 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.2766, allocations: 1.542 MB / 1.11 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/0.2772, allocations: 123.4 kB / 1.11 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.2773, allocations: 32 kB / 1.11 GB, free: 10.07 MB / 0.8731 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.0003491/0.2776, allocations: 341.4 kB / 1.11 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2778, allocations: 67.52 kB / 1.11 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.2779, allocations: 66 kB / 1.11 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2779, allocations: 7.938 kB / 1.11 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2779, allocations: 4.062 kB / 1.11 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2779, allocations: 0 / 1.11 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.2785, allocations: 0.5792 MB / 1.111 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2785, allocations: 3.938 kB / 1.111 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.2788, allocations: 47.95 kB / 1.111 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.2789, allocations: 40.83 kB / 1.111 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.279, allocations: 11.98 kB / 1.111 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.2801, allocations: 1.523 MB / 1.113 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2801, allocations: 3.938 kB / 1.113 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.2808, allocations: 0.568 MB / 1.113 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.2812, allocations: 200.7 kB / 1.113 GB, free: 6.367 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.402e-05/0.2812, allocations: 8 kB / 1.113 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004047/0.2817, allocations: 47.86 kB / 1.113 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.2817, allocations: 19.95 kB / 1.113 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.2817, allocations: 11.98 kB / 1.113 GB, free: 6.281 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008274/0.2826, allocations: 0.6551 MB / 1.114 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2826, allocations: 0 / 1.114 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006116/0.2832, allocations: 191.8 kB / 1.114 GB, free: 5.445 MB / 0.8731 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.001037/0.2842, allocations: 1.107 MB / 1.115 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008624/0.2851, allocations: 0.5824 MB / 1.116 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.2851, allocations: 0 / 1.116 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003317/0.2855, allocations: 254.5 kB / 1.116 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.2863, allocations: 178.3 kB / 1.116 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/0.2947, allocations: 6.932 MB / 1.123 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005819/0.2953, allocations: 0.9987 MB / 1.124 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.2957, allocations: 184.5 kB / 1.124 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.296, allocations: 207.4 kB / 1.124 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of SimCode: time 3.31e-07/0.296, allocations: 0 / 1.124 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03419/0.3302, allocations: 14.21 MB / 1.138 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.917/10.25, allocations: 5.844 kB / 1.138 GB, free: 12.62 MB / 0.9044 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches