Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.864/2.864, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.967e-05, allocations: 9.594 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02026/0.02029, allocations: 15.17 MB / 0.9962 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009358/0.02965, allocations: 4.73 MB / 1.001 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.03117, allocations: 91.31 kB / 1.001 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.0345, allocations: 1.059 MB / 1.002 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.03692, allocations: 0.7963 MB / 1.003 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.0396, allocations: 0.93 MB / 1.004 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004573/0.04417, allocations: 3.672 MB / 1.007 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/0.04774, allocations: 2.449 MB / 1.01 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003959/0.0517, allocations: 2.265 MB / 1.012 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.0546, allocations: 1.691 MB / 1.014 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0006302/0.05523, allocations: 340 kB / 1.014 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.0569, allocations: 0.7565 MB / 1.015 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.05858, allocations: 1.419 MB / 1.016 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.06004, allocations: 1.021 MB / 1.017 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006263/0.0663, allocations: 5.24 MB / 1.022 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.06631, allocations: 0 / 1.022 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.06631, allocations: 0 / 1.022 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000155/0.06647, allocations: 0 / 1.022 GB, free: 2.141 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006012/0.07248, allocations: 2.615 MB / 1.025 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.07252, allocations: 8.031 kB / 1.025 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.07667, allocations: 0.8537 MB / 1.025 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/0.07956, allocations: 1.535 MB / 1.027 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.07972, allocations: 181.1 kB / 1.027 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004177/0.08013, allocations: 232.4 kB / 1.027 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007174/0.08731, allocations: 4.258 MB / 1.032 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-05/0.08736, allocations: 8.125 kB / 1.032 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.08764, allocations: 100.4 kB / 1.032 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/0.08786, allocations: 172.5 kB / 1.032 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006265/0.09413, allocations: 3.624 MB / 1.035 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.1109, allocations: 10.46 MB / 1.046 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.1142, allocations: 1.471 MB / 1.047 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009155/0.1151, allocations: 0.5436 MB / 1.048 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.1152, allocations: 20.59 kB / 1.048 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1152, allocations: 47.14 kB / 1.048 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.1152, allocations: 0 / 1.048 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.005849/0.1211, allocations: 3.201 MB / 1.051 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.1212, allocations: 111.5 kB / 1.051 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.1226, allocations: 1.044 MB / 1.052 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.729e-05/0.1227, allocations: 33.7 kB / 1.052 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009218/0.1236, allocations: 1.142 MB / 1.053 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003014/0.1239, allocations: 281.6 kB / 1.053 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.1244, allocations: 279.4 kB / 1.054 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0003033/0.1247, allocations: 418.8 kB / 1.054 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.1258, allocations: 0.6167 MB / 1.055 GB, free: 192 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.1273, allocations: 1.189 MB / 1.056 GB, free: 14.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.1299, allocations: 1.857 MB / 1.057 GB, free: 12.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.1299, allocations: 8 kB / 1.057 GB, free: 12.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003432/0.1333, allocations: 2.018 MB / 1.059 GB, free: 10.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.1334, allocations: 12.88 kB / 1.059 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.1334, allocations: 23.94 kB / 1.06 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/0.1339, allocations: 163.3 kB / 1.06 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.1351, allocations: 351.3 kB / 1.06 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.046e-05/0.1351, allocations: 39.86 kB / 1.06 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.1361, allocations: 123.8 kB / 1.06 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.1362, allocations: 71.98 kB / 1.06 GB, free: 9.781 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001492/0.1377, allocations: 0.9849 MB / 1.061 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.1379, allocations: 107.3 kB / 1.061 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.1402, allocations: 1.232 MB / 1.062 GB, free: 7.426 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.1402, allocations: 11.94 kB / 1.062 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1402, allocations: 0 / 1.062 GB, free: 7.414 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.1402, allocations: 7.984 kB / 1.063 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/0.1455, allocations: 2.885 MB / 1.065 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.1455, allocations: 0 / 1.065 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006661/0.1462, allocations: 159.8 kB / 1.065 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.1466, allocations: 139.3 kB / 1.066 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.1466, allocations: 28.19 kB / 1.066 GB, free: 4.113 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.1467, allocations: 11.98 kB / 1.066 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.1467, allocations: 7.938 kB / 1.066 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/0.1489, allocations: 1.451 MB / 1.067 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.1493, allocations: 203.1 kB / 1.067 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.1495, allocations: 23.94 kB / 1.067 GB, free: 2.363 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.1501, allocations: 63.91 kB / 1.067 GB, free: 2.301 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.1502, allocations: 64.48 kB / 1.067 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.1503, allocations: 23.94 kB / 1.067 GB, free: 2.215 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000973/0.1513, allocations: 0.6949 MB / 1.068 GB, free: 1.508 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1513, allocations: 0 / 1.068 GB, free: 1.508 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001405/0.1527, allocations: 384 kB / 1.068 GB, free: 1.133 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002264/0.1529, allocations: 119.1 kB / 1.069 GB, free: 1.008 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.1554, allocations: 1.367 MB / 1.07 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1554, allocations: 0 / 1.07 GB, free: 15.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000956/0.1564, allocations: 0.5387 MB / 1.07 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.1579, allocations: 257.6 kB / 1.071 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.1645, allocations: 3.806 MB / 1.074 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.1663, allocations: 1.329 MB / 1.076 GB, free: 9.598 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001132/0.1674, allocations: 457.2 kB / 1.076 GB, free: 9.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.1676, allocations: 80.48 kB / 1.076 GB, free: 9.07 MB / 1.029 GB Notification: Performance of SimCode: time 1.072e-06/0.1676, allocations: 0 / 1.076 GB, free: 9.07 MB / 1.029 GB Notification: Performance of Templates: time 0.02813/0.1958, allocations: 12.8 MB / 1.089 GB, free: 12.57 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.278543416410685]