Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437.1 MB / 0.7177 GB, free: 4.59 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 67.88 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3248, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007245/0.3321, allocations: 4.902 MB / 1.181 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004598/0.3367, allocations: 2.491 MB / 1.183 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006058/0.3373, allocations: 27.75 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.3388, allocations: 398 kB / 1.183 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.3401, allocations: 445.6 kB / 1.184 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3411, allocations: 395.2 kB / 1.184 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3424, allocations: 0.9251 MB / 1.185 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.343, allocations: 358.5 kB / 1.186 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.3435, allocations: 346.6 kB / 1.186 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005003/0.344, allocations: 346.5 kB / 1.186 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.3441, allocations: 40 kB / 1.186 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.3449, allocations: 395.1 kB / 1.187 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.3451, allocations: 187.4 kB / 1.187 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.3455, allocations: 322.2 kB / 1.187 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.3467, allocations: 0.8909 MB / 1.188 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3468, allocations: 4 kB / 1.188 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3468, allocations: 4 kB / 1.188 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.3468, allocations: 0 / 1.188 GB, free: 9.441 MB / 0.9356 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.00158/0.3484, allocations: 0.9649 MB / 1.189 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3484, allocations: 15.92 kB / 1.189 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.3497, allocations: 220.1 kB / 1.189 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.3505, allocations: 0.5495 MB / 1.19 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.3506, allocations: 33.38 kB / 1.19 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.3507, allocations: 44.36 kB / 1.19 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.352, allocations: 0.8485 MB / 1.191 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.352, allocations: 11.94 kB / 1.191 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.3521, allocations: 23.98 kB / 1.191 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3522, allocations: 68.89 kB / 1.191 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009637/0.3532, allocations: 0.5694 MB / 1.191 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005731/0.3589, allocations: 5.647 MB / 1.197 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.3597, allocations: 459.6 kB / 1.197 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.36, allocations: 228.7 kB / 1.197 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.3601, allocations: 4 kB / 1.197 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.3601, allocations: 34.56 kB / 1.197 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 2.314e-06/0.3601, allocations: 4 kB / 1.197 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.002747/0.3629, allocations: 1.518 MB / 1.199 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.3629, allocations: 55.69 kB / 1.199 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.3635, allocations: 0.4952 MB / 1.199 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3636, allocations: 33.7 kB / 1.199 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.3639, allocations: 363.8 kB / 1.2 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.364, allocations: 126.9 kB / 1.2 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.3641, allocations: 110.2 kB / 1.2 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3643, allocations: 374.8 kB / 1.2 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003038/0.3647, allocations: 189.2 kB / 1.201 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005097/0.3652, allocations: 451.2 kB / 1.201 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.3661, allocations: 0.6954 MB / 1.202 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3661, allocations: 0 / 1.202 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00133/0.3674, allocations: 0.81 MB / 1.202 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3674, allocations: 8 kB / 1.202 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3675, allocations: 8 kB / 1.203 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.368, allocations: 160.1 kB / 1.203 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.3685, allocations: 123.7 kB / 1.203 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.3721, allocations: 4.344 MB / 1.207 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.3726, allocations: 35.97 kB / 1.207 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.3726, allocations: 28 kB / 1.207 GB, free: 4.371 MB / 0.9512 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.0002854/0.3729, allocations: 217.5 kB / 1.207 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.373, allocations: 59.62 kB / 1.207 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.3741, allocations: 0.6051 MB / 1.208 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3741, allocations: 4 kB / 1.208 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3741, allocations: 0 / 1.208 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3741, allocations: 3.984 kB / 1.208 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.376, allocations: 1.271 MB / 1.209 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.376, allocations: 3.938 kB / 1.209 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3762, allocations: 55.89 kB / 1.209 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/0.3767, allocations: 148.3 kB / 1.209 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.3767, allocations: 11.94 kB / 1.209 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.3802, allocations: 4.329 MB / 1.214 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3803, allocations: 3.938 kB / 1.214 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.3814, allocations: 0.7165 MB / 1.214 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.3816, allocations: 168.7 kB / 1.214 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/0.3817, allocations: 11.98 kB / 1.214 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.3819, allocations: 23.97 kB / 1.215 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.382, allocations: 31.84 kB / 1.215 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.382, allocations: 16 kB / 1.215 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003805/0.3824, allocations: 338.8 kB / 1.215 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.467e-06/0.3824, allocations: 0 / 1.215 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006366/0.3831, allocations: 143.9 kB / 1.215 GB, free: 11.6 MB / 0.9669 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.0001536/0.3832, allocations: 111.2 kB / 1.215 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00147/0.3847, allocations: 1.045 MB / 1.216 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3847, allocations: 0 / 1.216 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008864/0.3856, allocations: 0.731 MB / 1.217 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.3866, allocations: 208.6 kB / 1.217 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3883, allocations: 1.114 MB / 1.218 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3888, allocations: 0.9098 MB / 1.219 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.389, allocations: 43.42 kB / 1.219 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.389, allocations: 4 kB / 1.219 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of Templates: time 0.02248/0.4115, allocations: 18.37 MB / 1.237 GB, free: 4.852 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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: 13.06648951000534]