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.00182/0.00182, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002202/0.002202, allocations: 203.8 kB / 23 MB, free: 4.934 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.354/3.354, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] 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.00209/0.00209, allocations: 63.75 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4312, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.01148/0.4426, allocations: 4.672 MB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007824/0.4505, allocations: 2.433 MB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.4512, allocations: 35.62 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.4532, allocations: 406.9 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.4554, allocations: 473.6 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.4571, allocations: 405.9 kB / 1.335 GB, free: 8.594 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.4591, allocations: 0.9256 MB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000743/0.4598, allocations: 322.3 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008093/0.4606, allocations: 358.6 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007859/0.4614, allocations: 370.3 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.4615, allocations: 36 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.4627, allocations: 367.2 kB / 1.338 GB, free: 6.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.463, allocations: 179.4 kB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004435/0.4634, allocations: 270.6 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.4652, allocations: 0.891 MB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.4652, allocations: 4 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4652, allocations: 0 / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.4653, allocations: 0 / 1.339 GB, free: 4.891 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.002332/0.4676, allocations: 0.9012 MB / 1.34 GB, free: 3.953 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.4676, allocations: 8.031 kB / 1.34 GB, free: 3.945 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.4699, allocations: 204.2 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.4714, allocations: 0.489 MB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.98e-05/0.4715, allocations: 33.38 kB / 1.34 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.4716, allocations: 48.36 kB / 1.341 GB, free: 3.156 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.4737, allocations: 0.9742 MB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.4737, allocations: 7.891 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.4738, allocations: 23.98 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.4739, allocations: 68.95 kB / 1.342 GB, free: 1.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.4749, allocations: 0.5616 MB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.4797, allocations: 4.639 MB / 1.347 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.4804, allocations: 418.8 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.4807, allocations: 200.7 kB / 1.347 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4807, allocations: 0 / 1.347 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.4808, allocations: 42.56 kB / 1.347 GB, free: 11.87 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.245e-06/0.4808, allocations: 4 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002595/0.4834, allocations: 1.136 MB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.4834, allocations: 59.62 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.4839, allocations: 482.7 kB / 1.349 GB, free: 10.15 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.484, allocations: 29.7 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.4842, allocations: 368.2 kB / 1.349 GB, free: 9.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4844, allocations: 119 kB / 1.349 GB, free: 9.633 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.4845, allocations: 118.2 kB / 1.35 GB, free: 9.512 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4847, allocations: 362.7 kB / 1.35 GB, free: 9.148 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.485, allocations: 201.1 kB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.4855, allocations: 447.9 kB / 1.35 GB, free: 8.398 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.4864, allocations: 0.6877 MB / 1.351 GB, free: 7.594 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4864, allocations: 4 kB / 1.351 GB, free: 7.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001392/0.4878, allocations: 0.8054 MB / 1.352 GB, free: 6.762 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4878, allocations: 8 kB / 1.352 GB, free: 6.754 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.4878, allocations: 12 kB / 1.352 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005412/0.4884, allocations: 148.9 kB / 1.352 GB, free: 6.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.4889, allocations: 123.8 kB / 1.352 GB, free: 6.461 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.4926, allocations: 3.969 MB / 1.356 GB, free: 2.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.4929, allocations: 43.91 kB / 1.356 GB, free: 2.141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.493, allocations: 28 kB / 1.356 GB, free: 2.113 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.0002933/0.4933, allocations: 213.9 kB / 1.356 GB, free: 1.895 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.4934, allocations: 63.56 kB / 1.356 GB, free: 1.832 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.4945, allocations: 0.5966 MB / 1.357 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4945, allocations: 0 / 1.357 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4945, allocations: 0 / 1.357 GB, free: 1.215 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.4947, allocations: 87.58 kB / 1.357 GB, free: 1.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.4948, allocations: 4 kB / 1.357 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.495, allocations: 23.97 kB / 1.357 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.4951, allocations: 35.88 kB / 1.357 GB, free: 1.066 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001388/0.4965, allocations: 0.6646 MB / 1.358 GB, free: 388 kB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001083/0.4975, allocations: 0.8225 MB / 1.359 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002587/0.4978, allocations: 175.8 kB / 1.359 GB, free: 15.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003589/0.4982, allocations: 310.9 kB / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of Backend: time 6.81e-07/0.4982, allocations: 0 / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.5003, allocations: 0.9832 MB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of SimCode: time 0.002326/0.5026, allocations: 1.603 MB / 1.362 GB, free: 12.38 MB / 1.061 GB Notification: Performance of Templates: time 0.02116/0.5238, allocations: 11.16 MB / 1.372 GB, free: 1.43 MB / 1.061 GB " [Timeout remaining time 299] 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: 9.741943868000817]