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.001346/0.001346, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001571/0.001571, allocations: 217.9 kB / 22.25 MB, free: 5.121 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.961 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.174/3.174, allocations: 0.4899 GB / 0.7951 GB, free: 33.32 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.0021/0.0021, allocations: 69.36 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3568, allocations: 176.1 MB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007305/0.3641, allocations: 5.052 MB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00458/0.3687, allocations: 2.604 MB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005957/0.3693, allocations: 35.62 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.3707, allocations: 421.9 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3719, allocations: 465.6 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.373, allocations: 413.6 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3743, allocations: 0.9216 MB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/0.3749, allocations: 330.3 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006527/0.3755, allocations: 362.6 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.3762, allocations: 362.4 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.3763, allocations: 36 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007667/0.377, allocations: 415.1 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.3773, allocations: 183.4 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.3777, allocations: 322.2 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3789, allocations: 0.8948 MB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3789, allocations: 4 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3789, allocations: 3.938 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.3789, allocations: 0 / 1.339 GB, free: 4.633 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.001624/0.3805, allocations: 0.8935 MB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.3806, allocations: 12.03 kB / 1.34 GB, free: 3.691 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.3819, allocations: 208.1 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.3828, allocations: 492.8 kB / 1.34 GB, free: 2.984 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.3829, allocations: 37.38 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.341e-05/0.383, allocations: 44.36 kB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.3841, allocations: 0.8448 MB / 1.341 GB, free: 1.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.3842, allocations: 15.89 kB / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.3842, allocations: 23.98 kB / 1.341 GB, free: 1.887 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.383e-05/0.3843, allocations: 64.95 kB / 1.341 GB, free: 1.824 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009229/0.3852, allocations: 0.5656 MB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/0.3902, allocations: 5.57 MB / 1.347 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006695/0.3909, allocations: 432.8 kB / 1.348 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.3912, allocations: 200.7 kB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3912, allocations: 7.938 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3913, allocations: 30.56 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.3913, allocations: 4 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002528/0.3938, allocations: 1.144 MB / 1.349 GB, free: 9.461 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3938, allocations: 55.69 kB / 1.349 GB, free: 9.395 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005732/0.3944, allocations: 0.4991 MB / 1.35 GB, free: 8.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.3944, allocations: 33.7 kB / 1.35 GB, free: 8.848 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.3947, allocations: 371.7 kB / 1.35 GB, free: 8.48 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3948, allocations: 123 kB / 1.35 GB, free: 8.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.395, allocations: 114.2 kB / 1.35 GB, free: 8.242 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3952, allocations: 374.8 kB / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.3955, allocations: 193.2 kB / 1.351 GB, free: 7.676 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.396, allocations: 447.9 kB / 1.351 GB, free: 7.125 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.3969, allocations: 0.6876 MB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3969, allocations: 0 / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001346/0.3982, allocations: 0.81 MB / 1.353 GB, free: 5.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3983, allocations: 8 kB / 1.353 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3983, allocations: 8 kB / 1.353 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.3988, allocations: 156.1 kB / 1.353 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.3993, allocations: 127.7 kB / 1.353 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.4029, allocations: 4.038 MB / 1.357 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.4032, allocations: 31.97 kB / 1.357 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.4033, allocations: 32 kB / 1.357 GB, free: 0.7344 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.0002687/0.4036, allocations: 213.5 kB / 1.357 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.4037, allocations: 67.58 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.4047, allocations: 0.5974 MB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4047, allocations: 7.938 kB / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4047, allocations: 0 / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4048, allocations: 0 / 1.358 GB, free: 15.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.4067, allocations: 1.241 MB / 1.359 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.4067, allocations: 4 kB / 1.359 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.4069, allocations: 55.89 kB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.4073, allocations: 144.3 kB / 1.359 GB, free: 14.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.4074, allocations: 11.94 kB / 1.359 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.4112, allocations: 4.033 MB / 1.363 GB, free: 9.887 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.4112, allocations: 7.938 kB / 1.363 GB, free: 9.879 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.4124, allocations: 0.7122 MB / 1.364 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.4126, allocations: 95.47 kB / 1.364 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.4127, allocations: 8 kB / 1.364 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.4129, allocations: 23.97 kB / 1.364 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.413, allocations: 35.83 kB / 1.364 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.413, allocations: 16 kB / 1.364 GB, free: 8.938 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004004/0.4134, allocations: 338.8 kB / 1.364 GB, free: 8.609 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4134, allocations: 0 / 1.364 GB, free: 8.609 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006033/0.414, allocations: 140 kB / 1.365 GB, free: 8.473 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.0001506/0.4142, allocations: 111.2 kB / 1.365 GB, free: 8.352 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001429/0.4156, allocations: 0.8513 MB / 1.365 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4156, allocations: 0 / 1.365 GB, free: 7.457 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.4165, allocations: 0.5723 MB / 1.366 GB, free: 6.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.4174, allocations: 211 kB / 1.366 GB, free: 6.645 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4192, allocations: 1.066 MB / 1.367 GB, free: 5.523 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/0.4198, allocations: 0.9098 MB / 1.368 GB, free: 4.586 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003307/0.4202, allocations: 125.3 kB / 1.368 GB, free: 4.461 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4203, allocations: 39.44 kB / 1.368 GB, free: 4.422 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.4203, allocations: 0 / 1.368 GB, free: 4.422 MB / 1.061 GB Notification: Performance of Templates: time 0.01682/0.4371, allocations: 8.07 MB / 1.376 GB, free: 12.46 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/jenkins/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: 8.978394345380366]