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.001358/0.001359, allocations: 111.7 kB / 16.41 MB, free: 6.488 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.0015/0.001501, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.247/2.247, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 63.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8351/0.8365, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005705/0.8423, allocations: 4.899 MB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0039/0.8462, allocations: 2.486 MB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.8466, allocations: 32.25 kB / 1.096 GB, free: 400 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.8478, allocations: 399.2 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.849, allocations: 439.5 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.8501, allocations: 399.5 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.8513, allocations: 0.9237 MB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005766/0.8519, allocations: 353.4 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005362/0.8524, allocations: 347.6 kB / 1.099 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.8529, allocations: 352.2 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.853, allocations: 37.12 kB / 1.099 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008395/0.8538, allocations: 401.8 kB / 1.099 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.8541, allocations: 181.7 kB / 1.1 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003442/0.8544, allocations: 325.8 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.8557, allocations: 0.8881 MB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8557, allocations: 5.094 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8557, allocations: 0 / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.8557, allocations: 0 / 1.101 GB, free: 14.1 MB / 0.8731 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.001588/0.8573, allocations: 0.9442 MB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.8574, allocations: 9.5 kB / 1.102 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.8587, allocations: 205.9 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009742/0.8597, allocations: 0.5491 MB / 1.102 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.8598, allocations: 38.72 kB / 1.102 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.209e-05/0.8599, allocations: 50.47 kB / 1.102 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.8611, allocations: 0.8483 MB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.8611, allocations: 7.984 kB / 1.103 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.8612, allocations: 20.28 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.8613, allocations: 66.39 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.8624, allocations: 0.5647 MB / 1.104 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.8672, allocations: 5.656 MB / 1.109 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.8679, allocations: 450 kB / 1.11 GB, free: 6.844 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.8682, allocations: 228.1 kB / 1.11 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.8683, allocations: 3.219 kB / 1.11 GB, free: 6.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.8683, allocations: 41.28 kB / 1.11 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 2.355e-06/0.8683, allocations: 0 / 1.11 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002706/0.871, allocations: 1.505 MB / 1.112 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.8711, allocations: 59.48 kB / 1.112 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.8717, allocations: 0.5015 MB / 1.112 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.8717, allocations: 30.95 kB / 1.112 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.872, allocations: 353.9 kB / 1.113 GB, free: 5.148 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.904e-05/0.8721, allocations: 121.1 kB / 1.113 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.8722, allocations: 115.5 kB / 1.113 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8724, allocations: 365.7 kB / 1.113 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.8727, allocations: 196.4 kB / 1.113 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004746/0.8732, allocations: 447.3 kB / 1.114 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.874, allocations: 0.6894 MB / 1.114 GB, free: 3.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.874, allocations: 5.344 kB / 1.114 GB, free: 3.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001318/0.8753, allocations: 0.8064 MB / 1.115 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.8754, allocations: 12.78 kB / 1.115 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.8754, allocations: 12.19 kB / 1.115 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.8759, allocations: 152.6 kB / 1.115 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005145/0.8764, allocations: 129 kB / 1.115 GB, free: 3.215 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.8804, allocations: 4.343 MB / 1.12 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.881, allocations: 33.22 kB / 1.12 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.8811, allocations: 26.78 kB / 1.12 GB, free: 14.93 MB / 0.8887 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.0003824/0.8815, allocations: 221.6 kB / 1.12 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.8816, allocations: 65.31 kB / 1.12 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.8828, allocations: 0.591 MB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8829, allocations: 8.375 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8829, allocations: 0.9688 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8829, allocations: 3.375 kB / 1.121 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.8851, allocations: 1.268 MB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.8852, allocations: 1.438 kB / 1.122 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.8854, allocations: 59.45 kB / 1.122 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.8859, allocations: 143.7 kB / 1.122 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.8859, allocations: 10.75 kB / 1.122 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.8893, allocations: 4.325 MB / 1.126 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.8893, allocations: 6.219 kB / 1.126 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.8904, allocations: 0.7159 MB / 1.127 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.8907, allocations: 170 kB / 1.127 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.8908, allocations: 13.08 kB / 1.127 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002524/0.8911, allocations: 21.97 kB / 1.127 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.667e-05/0.8912, allocations: 39.22 kB / 1.127 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.8912, allocations: 12.53 kB / 1.127 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004575/0.8916, allocations: 338.5 kB / 1.128 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8917, allocations: 0 / 1.128 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007548/0.8924, allocations: 139.3 kB / 1.128 GB, free: 8.609 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.0001456/0.8926, allocations: 117.1 kB / 1.128 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.894, allocations: 1.029 MB / 1.129 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.894, allocations: 0 / 1.129 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.8949, allocations: 0.7396 MB / 1.13 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.8959, allocations: 210.8 kB / 1.13 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.8975, allocations: 1.097 MB / 1.131 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.8981, allocations: 0.9087 MB / 1.132 GB, free: 5.742 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.8982, allocations: 43.69 kB / 1.132 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of SimCode: time 2.71e-07/0.8982, allocations: 1.312 kB / 1.132 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of Templates: time 0.02841/0.9266, allocations: 18.37 MB / 1.15 GB, free: 0.5312 MB / 0.8887 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/jenkins1/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