Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.001752/0.001752, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002178/0.002178, allocations: 220 kB / 23.01 MB, free: 4.969 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.239/3.239, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD") [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.002061/0.002061, allocations: 75.92 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3321, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.0238/0.3559, allocations: 16.22 MB / 1.343 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.367, allocations: 5.814 MB / 1.349 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.3682, allocations: 51.81 kB / 1.349 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004228/0.3725, allocations: 1.38 MB / 1.35 GB, free: 9.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002841/0.3753, allocations: 1.039 MB / 1.351 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.378, allocations: 1.039 MB / 1.352 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004998/0.383, allocations: 4.132 MB / 1.356 GB, free: 3.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004626/0.3876, allocations: 2.827 MB / 1.359 GB, free: 356 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.3906, allocations: 1.886 MB / 1.361 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003945/0.3945, allocations: 2.318 MB / 1.363 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.3957, allocations: 432 kB / 1.363 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.3982, allocations: 1.057 MB / 1.364 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002447/0.4006, allocations: 1.754 MB / 1.366 GB, free: 8.895 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.4029, allocations: 1.378 MB / 1.367 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007447/0.4104, allocations: 6.348 MB / 1.374 GB, free: 1.145 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4104, allocations: 0 / 1.374 GB, free: 1.145 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4104, allocations: 4 kB / 1.374 GB, free: 1.141 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001433/0.4105, allocations: 0 / 1.374 GB, free: 1.141 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.006536/0.4171, allocations: 2.935 MB / 1.377 GB, free: 14.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4171, allocations: 8.031 kB / 1.377 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01166/0.4288, allocations: 2.016 MB / 1.378 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.4333, allocations: 1.582 MB / 1.38 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.4335, allocations: 214.2 kB / 1.38 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008053/0.4344, allocations: 280.3 kB / 1.381 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.4481, allocations: 5.772 MB / 1.386 GB, free: 4.145 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.4482, allocations: 4 kB / 1.386 GB, free: 4.141 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004188/0.4486, allocations: 124 kB / 1.386 GB, free: 4.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.4489, allocations: 208.7 kB / 1.386 GB, free: 3.812 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.4638, allocations: 5.814 MB / 1.392 GB, free: 13.98 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.4909, allocations: 14.26 MB / 1.406 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006166/0.4971, allocations: 2.489 MB / 1.409 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007722/0.5048, allocations: 1.901 MB / 1.41 GB, free: 10.81 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.5051, allocations: 44.97 kB / 1.41 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/0.5052, allocations: 55.45 kB / 1.41 GB, free: 10.71 MB / 1.107 GB Notification: Performance of pre-optimization done (n=132): time 8.455e-06/0.5052, allocations: 3.938 kB / 1.41 GB, free: 10.7 MB / 1.107 GB Notification: Performance of matching and sorting (n=174): time 0.07113/0.5763, allocations: 12.97 MB / 1.423 GB, free: 13.71 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.5765, allocations: 230.9 kB / 1.423 GB, free: 13.43 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.5781, allocations: 0.9801 MB / 1.424 GB, free: 12.44 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003647/0.5785, allocations: 61.69 kB / 1.424 GB, free: 12.37 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009557/0.5794, allocations: 1.194 MB / 1.426 GB, free: 11.16 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009673/0.5804, allocations: 0.6275 MB / 1.426 GB, free: 10.53 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.5816, allocations: 459.9 kB / 1.427 GB, free: 10.07 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5818, allocations: 334 kB / 1.427 GB, free: 9.742 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005249/0.587, allocations: 1.879 MB / 1.429 GB, free: 7.852 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005916/0.5929, allocations: 2.467 MB / 1.431 GB, free: 5.121 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.604, allocations: 4.378 MB / 1.435 GB, free: 0.5 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.692e-05/0.6041, allocations: 8 kB / 1.435 GB, free: 0.4922 MB / 1.123 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01492/0.619, allocations: 5.4 MB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.619, allocations: 14.19 kB / 1.441 GB, free: 11.06 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/0.6191, allocations: 16 kB / 1.441 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/0.6228, allocations: 1.212 MB / 1.442 GB, free: 9.824 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.6263, allocations: 0.7291 MB / 1.443 GB, free: 9.094 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/0.6435, allocations: 10.99 MB / 1.453 GB, free: 13.9 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/0.6468, allocations: 455.3 kB / 1.454 GB, free: 13.45 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000477/0.6473, allocations: 115.9 kB / 1.454 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006844/0.6542, allocations: 2.943 MB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005491/0.6597, allocations: 2.456 MB / 1.459 GB, free: 7.672 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01028/0.6699, allocations: 4.35 MB / 1.463 GB, free: 3.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-05/0.67, allocations: 4 kB / 1.463 GB, free: 3.066 MB / 1.154 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01385/0.6838, allocations: 5.342 MB / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.6838, allocations: 12 kB / 1.469 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/0.6839, allocations: 19.94 kB / 1.469 GB, free: 13.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003109/0.687, allocations: 1.122 MB / 1.47 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003315/0.6903, allocations: 0.7331 MB / 1.47 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/0.7066, allocations: 10.79 MB / 1.481 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/0.7098, allocations: 455.3 kB / 1.481 GB, free: 368 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003999/0.7102, allocations: 112 kB / 1.482 GB, free: 256 kB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (5,31,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007854/0.711, allocations: 312.3 kB / 1.482 GB, free: 15.93 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005356/0.7115, allocations: 127.2 kB / 1.482 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/0.7248, allocations: 4.937 MB / 1.487 GB, free: 10.83 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-05/0.7249, allocations: 11.97 kB / 1.487 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.7249, allocations: 0 / 1.487 GB, free: 10.82 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.7262, allocations: 434.9 kB / 1.487 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/0.7266, allocations: 39.94 kB / 1.487 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002791/0.7294, allocations: 383.4 kB / 1.488 GB, free: 9.98 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.7298, allocations: 164.9 kB / 1.488 GB, free: 9.82 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01486/0.7447, allocations: 5.439 MB / 1.493 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01506/0.7597, allocations: 6.189 MB / 1.499 GB, free: 14.15 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004546/0.7643, allocations: 1.727 MB / 1.501 GB, free: 12.42 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001157/0.7654, allocations: 0.6864 MB / 1.501 GB, free: 11.73 MB / 1.201 GB Notification: Performance of Backend: time 5.11e-07/0.7654, allocations: 4 kB / 1.502 GB, free: 11.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01865/0.7841, allocations: 6.597 MB / 1.508 GB, free: 5.086 MB / 1.201 GB Notification: Performance of SimCode: time 0.01001/0.7941, allocations: 5.454 MB / 1.513 GB, free: 15.58 MB / 1.217 GB Notification: Performance of Templates: time 0.09693/0.891, allocations: 64 MB / 1.576 GB, free: 0 / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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: 11.275962356994569]