Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001332/0.001332, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001385/0.001385, allocations: 210.4 kB / 23.03 MB, free: 4.863 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.043/3.043, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 76.06 kB / 1.155 GB, free: 25.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3603, allocations: 176.1 MB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006721/0.367, allocations: 4.675 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00442/0.3714, allocations: 2.44 MB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003704/0.3718, allocations: 39.56 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.3731, allocations: 403.3 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.3742, allocations: 465.6 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.3751, allocations: 401.9 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3762, allocations: 0.9256 MB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.3767, allocations: 318.3 kB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.3772, allocations: 362.6 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.3777, allocations: 350.4 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.801e-05/0.3778, allocations: 40 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.3784, allocations: 359.1 kB / 1.338 GB, free: 6.113 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.3786, allocations: 191.3 kB / 1.338 GB, free: 5.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.3789, allocations: 254.7 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.38, allocations: 0.9065 MB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.38, allocations: 0 / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.38, allocations: 0 / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.38, allocations: 0 / 1.339 GB, free: 4.766 MB / 1.029 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.001523/0.3815, allocations: 0.8974 MB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3816, allocations: 8.031 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.3828, allocations: 212.2 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/0.3838, allocations: 0.489 MB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.3838, allocations: 33.38 kB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.3839, allocations: 44.36 kB / 1.341 GB, free: 3.035 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.3851, allocations: 0.9703 MB / 1.342 GB, free: 1.895 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.3852, allocations: 11.83 kB / 1.342 GB, free: 1.883 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.3852, allocations: 23.98 kB / 1.342 GB, free: 1.859 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.3853, allocations: 68.95 kB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008573/0.3862, allocations: 0.5694 MB / 1.342 GB, free: 1.223 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.3907, allocations: 4.635 MB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.3914, allocations: 422.8 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3917, allocations: 204.7 kB / 1.347 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3917, allocations: 0 / 1.347 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.3917, allocations: 34.56 kB / 1.347 GB, free: 11.74 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.3917, allocations: 0 / 1.347 GB, free: 11.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002572/0.3943, allocations: 1.132 MB / 1.348 GB, free: 10.58 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3944, allocations: 59.62 kB / 1.348 GB, free: 10.51 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/0.3949, allocations: 486.7 kB / 1.349 GB, free: 10.03 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.3949, allocations: 29.7 kB / 1.349 GB, free: 9.992 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.3952, allocations: 368.2 kB / 1.349 GB, free: 9.625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3953, allocations: 119 kB / 1.349 GB, free: 9.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.3955, allocations: 118.2 kB / 1.35 GB, free: 9.387 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3956, allocations: 366.7 kB / 1.35 GB, free: 9.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.3959, allocations: 197.2 kB / 1.35 GB, free: 8.824 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.3964, allocations: 443.9 kB / 1.351 GB, free: 8.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008804/0.3973, allocations: 0.6954 MB / 1.351 GB, free: 7.465 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3973, allocations: 0 / 1.351 GB, free: 7.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001313/0.3986, allocations: 0.8021 MB / 1.352 GB, free: 6.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3987, allocations: 12.16 kB / 1.352 GB, free: 6.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3987, allocations: 12 kB / 1.352 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.3992, allocations: 148.1 kB / 1.352 GB, free: 6.457 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.3997, allocations: 127.8 kB / 1.352 GB, free: 6.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.4033, allocations: 3.969 MB / 1.356 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.4037, allocations: 39.97 kB / 1.356 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.4037, allocations: 28 kB / 1.356 GB, free: 1.988 MB / 1.045 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.0003056/0.404, allocations: 205.6 kB / 1.356 GB, free: 1.777 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.4041, allocations: 63.56 kB / 1.356 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4052, allocations: 0.5966 MB / 1.357 GB, free: 1.098 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.4052, allocations: 8.062 kB / 1.357 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.4052, allocations: 7.969 kB / 1.357 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4052, allocations: 0 / 1.357 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.407, allocations: 1.126 MB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.407, allocations: 4 kB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4073, allocations: 55.83 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004128/0.4077, allocations: 144.4 kB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.4077, allocations: 8 kB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.4112, allocations: 3.957 MB / 1.362 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4112, allocations: 7.922 kB / 1.362 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4123, allocations: 0.7006 MB / 1.363 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.4125, allocations: 87.59 kB / 1.363 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.4126, allocations: 19.92 kB / 1.363 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.4128, allocations: 19.98 kB / 1.363 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.4129, allocations: 35.88 kB / 1.363 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.4129, allocations: 12 kB / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003395/0.4133, allocations: 310.8 kB / 1.363 GB, free: 10.16 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4133, allocations: 0 / 1.363 GB, free: 10.16 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006413/0.4139, allocations: 140 kB / 1.364 GB, free: 10.02 MB / 1.061 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.0001556/0.4141, allocations: 111.2 kB / 1.364 GB, free: 9.902 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001405/0.4155, allocations: 0.855 MB / 1.364 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4155, allocations: 0 / 1.364 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008069/0.4163, allocations: 0.5841 MB / 1.365 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009298/0.4172, allocations: 197.8 kB / 1.365 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.4189, allocations: 1.1 MB / 1.366 GB, free: 7.027 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4193, allocations: 315.9 kB / 1.367 GB, free: 6.691 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4194, allocations: 43.44 kB / 1.367 GB, free: 6.648 MB / 1.061 GB Notification: Performance of SimCode: time 1.263e-06/0.4194, allocations: 0 / 1.367 GB, free: 6.648 MB / 1.061 GB Notification: Performance of Templates: time 0.02293/0.4423, allocations: 18.41 MB / 1.385 GB, free: 4.27 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.828962304862216]