Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.008052/0.008053, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001792/0.001792, allocations: 195.6 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.211/2.211, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 58.47 kB / 0.9504 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2245, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004316/0.2288, allocations: 3.74 MB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00407/0.2329, allocations: 2.499 MB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.2335, allocations: 11.94 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009611/0.2345, allocations: 246.6 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.2359, allocations: 0.4961 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2373, allocations: 0.5456 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.2392, allocations: 1.39 MB / 1.096 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003586/0.2396, allocations: 145.1 kB / 1.096 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009948/0.2406, allocations: 442.5 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.2416, allocations: 470.2 kB / 1.097 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002128/0.2418, allocations: 52 kB / 1.097 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.242, allocations: 56 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.2425, allocations: 374.9 kB / 1.098 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007386/0.2432, allocations: 469.6 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.2445, allocations: 0.9303 MB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2445, allocations: 0 / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2445, allocations: 0 / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.881e-05/0.2446, allocations: 4 kB / 1.099 GB, free: 6.102 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.003194/0.2478, allocations: 1.269 MB / 1.1 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2479, allocations: 12.03 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.248, allocations: 74.66 kB / 1.1 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.2482, allocations: 99.72 kB / 1.1 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.2494, allocations: 0.6754 MB / 1.101 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.2495, allocations: 37.03 kB / 1.101 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.2496, allocations: 60.12 kB / 1.101 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.2502, allocations: 415 kB / 1.102 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2502, allocations: 0 / 1.102 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2503, allocations: 12 kB / 1.102 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2503, allocations: 8 kB / 1.102 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.2507, allocations: 234.4 kB / 1.102 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.2539, allocations: 2.498 MB / 1.104 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.2553, allocations: 0.5537 MB / 1.105 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002497/0.2555, allocations: 164.8 kB / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.2556, allocations: 0 / 1.105 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2556, allocations: 38.56 kB / 1.105 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.2556, allocations: 0 / 1.105 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.001579/0.2572, allocations: 0.89 MB / 1.106 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.2572, allocations: 59.41 kB / 1.106 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.2584, allocations: 0.9193 MB / 1.107 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.2585, allocations: 41.7 kB / 1.107 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.2587, allocations: 364.8 kB / 1.107 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.2589, allocations: 122.3 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.2591, allocations: 166.6 kB / 1.107 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.2593, allocations: 402.7 kB / 1.108 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.2597, allocations: 249.8 kB / 1.108 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.2603, allocations: 0.6348 MB / 1.109 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.2613, allocations: 0.8836 MB / 1.11 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.2613, allocations: 4 kB / 1.11 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001658/0.263, allocations: 1.018 MB / 1.111 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.263, allocations: 8 kB / 1.111 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.263, allocations: 23.92 kB / 1.111 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004273/0.2635, allocations: 134.7 kB / 1.111 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.2641, allocations: 183.7 kB / 1.111 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.2674, allocations: 4.473 MB / 1.115 GB, free: 4.133 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.2684, allocations: 111 kB / 1.115 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.2684, allocations: 44 kB / 1.115 GB, free: 3.98 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003322/0.2688, allocations: 269.4 kB / 1.116 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.269, allocations: 86.81 kB / 1.116 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.2691, allocations: 84.52 kB / 1.116 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2692, allocations: 4 kB / 1.116 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.2692, allocations: 0 / 1.116 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2692, allocations: 0 / 1.116 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009121/0.2701, allocations: 0.6609 MB / 1.116 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2701, allocations: 0 / 1.116 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.2705, allocations: 59.89 kB / 1.117 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000326/0.2708, allocations: 106.5 kB / 1.117 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.2708, allocations: 12 kB / 1.117 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.2742, allocations: 4.446 MB / 1.121 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2743, allocations: 0 / 1.121 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.2754, allocations: 0.7351 MB / 1.122 GB, free: 13.01 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/0.2758, allocations: 215.8 kB / 1.122 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.276, allocations: 11.98 kB / 1.122 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.2766, allocations: 19.97 kB / 1.122 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.2766, allocations: 31.91 kB / 1.122 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.2767, allocations: 8 kB / 1.122 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000863/0.2775, allocations: 0.62 MB / 1.123 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2776, allocations: 0 / 1.123 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008953/0.2785, allocations: 271.8 kB / 1.123 GB, free: 11.83 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (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.00132/0.2798, allocations: 1.289 MB / 1.124 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2812, allocations: 0.9249 MB / 1.125 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2812, allocations: 0 / 1.125 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.2818, allocations: 0.5273 MB / 1.126 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.2826, allocations: 176.1 kB / 1.126 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/0.2924, allocations: 7.809 MB / 1.133 GB, free: 476 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.2929, allocations: 0.9839 MB / 1.134 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000354/0.2933, allocations: 153.8 kB / 1.134 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.2936, allocations: 275.3 kB / 1.135 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/0.2937, allocations: 0 / 1.135 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.549/1.843, allocations: 17.61 MB / 1.152 GB, free: 13.66 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.93, allocations: 10.17 kB / 1.152 GB, free: 13.65 MB / 0.92 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches