Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008116/0.008116, allocations: 100.5 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.001695/0.001695, allocations: 186.9 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.491/2.491, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 66.48 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3929, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006677/0.3996, allocations: 4.907 MB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004342/0.404, allocations: 2.483 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.4047, allocations: 23.81 kB / 1.095 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/0.4061, allocations: 405.9 kB / 1.096 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.4073, allocations: 445.7 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.4083, allocations: 397.4 kB / 1.096 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.4094, allocations: 0.9251 MB / 1.097 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.41, allocations: 370.4 kB / 1.098 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.4105, allocations: 334.7 kB / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.4109, allocations: 358.4 kB / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.411, allocations: 40 kB / 1.098 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007473/0.4117, allocations: 399.1 kB / 1.099 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.4119, allocations: 175.5 kB / 1.099 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.4122, allocations: 322.2 kB / 1.099 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.4133, allocations: 0.8915 MB / 1.1 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4133, allocations: 4 kB / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4133, allocations: 0 / 1.1 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4133, allocations: 0 / 1.1 GB, free: 5.066 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00141/0.4147, allocations: 0.9463 MB / 1.101 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4148, allocations: 8.031 kB / 1.101 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.416, allocations: 207.8 kB / 1.101 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.4168, allocations: 0.5451 MB / 1.102 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4168, allocations: 37.36 kB / 1.102 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.4169, allocations: 40.38 kB / 1.102 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.4179, allocations: 0.8448 MB / 1.103 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.418, allocations: 7.938 kB / 1.103 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.418, allocations: 27.97 kB / 1.103 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.201e-05/0.4181, allocations: 64.95 kB / 1.103 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.4189, allocations: 0.5734 MB / 1.103 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.4232, allocations: 5.643 MB / 1.109 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.4238, allocations: 460.1 kB / 1.109 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.4241, allocations: 228.7 kB / 1.109 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.4242, allocations: 4 kB / 1.109 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4242, allocations: 31.09 kB / 1.109 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.484e-06/0.4242, allocations: 4 kB / 1.109 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002467/0.4267, allocations: 1.511 MB / 1.111 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4267, allocations: 59.69 kB / 1.111 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/0.4272, allocations: 0.4913 MB / 1.111 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.4273, allocations: 33.7 kB / 1.111 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.4275, allocations: 362.8 kB / 1.112 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.4276, allocations: 122.3 kB / 1.112 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.4278, allocations: 110.2 kB / 1.112 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4279, allocations: 366.8 kB / 1.112 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.4282, allocations: 205.1 kB / 1.113 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.4287, allocations: 451 kB / 1.113 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008005/0.4295, allocations: 0.6916 MB / 1.114 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4295, allocations: 0 / 1.114 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001219/0.4307, allocations: 0.8052 MB / 1.114 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4307, allocations: 13.55 kB / 1.115 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4308, allocations: 8 kB / 1.115 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000485/0.4312, allocations: 160.7 kB / 1.115 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/0.4317, allocations: 119.8 kB / 1.115 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.4352, allocations: 4.336 MB / 1.119 GB, free: 124 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.4357, allocations: 39.97 kB / 1.119 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.4358, allocations: 32 kB / 1.119 GB, free: 52 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003432/0.4361, allocations: 215.6 kB / 1.119 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.4362, allocations: 59.25 kB / 1.119 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.4372, allocations: 0.6009 MB / 1.12 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4372, allocations: 8 kB / 1.12 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4372, allocations: 3.984 kB / 1.12 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4373, allocations: 0 / 1.12 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.439, allocations: 1.269 MB / 1.121 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.439, allocations: 0 / 1.121 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.4393, allocations: 55.95 kB / 1.121 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.4397, allocations: 144.3 kB / 1.121 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.4397, allocations: 15.94 kB / 1.121 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.4432, allocations: 4.324 MB / 1.126 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4432, allocations: 7.922 kB / 1.126 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4443, allocations: 0.712 MB / 1.126 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.4445, allocations: 168.3 kB / 1.126 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.4446, allocations: 8 kB / 1.126 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.4448, allocations: 23.97 kB / 1.127 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.4449, allocations: 31.89 kB / 1.127 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.445, allocations: 12 kB / 1.127 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004571/0.4454, allocations: 338.8 kB / 1.127 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4454, allocations: 0 / 1.127 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007725/0.4462, allocations: 148 kB / 1.127 GB, free: 7.301 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,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.0001955/0.4464, allocations: 111.1 kB / 1.127 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.4479, allocations: 1.029 MB / 1.128 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.4479, allocations: 128 / 1.128 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.4488, allocations: 0.7379 MB / 1.129 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/0.4497, allocations: 207.8 kB / 1.129 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.4516, allocations: 1.044 MB / 1.13 GB, free: 3.957 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.4521, allocations: 0.9098 MB / 1.131 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003547/0.4525, allocations: 121.3 kB / 1.131 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4526, allocations: 43.44 kB / 1.131 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of SimCode: time 9.82e-07/0.4526, allocations: 0 / 1.131 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of Templates: time 0.0157/0.4683, allocations: 7.848 MB / 1.139 GB, free: 11.1 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches