Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 115.5 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001434, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.84 kB / 1.066 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8582, allocations: 159.1 MB / 1.221 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02047/0.8787, allocations: 17.12 MB / 1.238 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.8905, allocations: 6.109 MB / 1.244 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00173/0.8923, allocations: 47.88 kB / 1.244 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004259/0.8966, allocations: 1.561 MB / 1.245 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.8995, allocations: 1.07 MB / 1.246 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002631/0.9022, allocations: 1.055 MB / 1.247 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004541/0.9067, allocations: 4.233 MB / 1.251 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006985/0.9137, allocations: 5.648 MB / 1.257 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.9164, allocations: 1.886 MB / 1.259 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003713/0.9201, allocations: 2.236 MB / 1.261 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.9213, allocations: 440 kB / 1.261 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.924, allocations: 1.127 MB / 1.262 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/0.9264, allocations: 1.739 MB / 1.264 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003401/0.9298, allocations: 1.728 MB / 1.266 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00909/0.9389, allocations: 6.406 MB / 1.272 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9389, allocations: 0 / 1.272 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.474e-06/0.9389, allocations: 0 / 1.272 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001788/0.9391, allocations: 0 / 1.272 GB, free: 13.79 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.008658/0.9478, allocations: 2.998 MB / 1.275 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.9479, allocations: 8.031 kB / 1.275 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.9593, allocations: 2.003 MB / 1.277 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0043/0.9636, allocations: 1.635 MB / 1.279 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.9638, allocations: 226.3 kB / 1.279 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.9649, allocations: 284.4 kB / 1.279 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.9779, allocations: 5.77 MB / 1.285 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/0.978, allocations: 4 kB / 1.285 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.9784, allocations: 120 kB / 1.285 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003267/0.9788, allocations: 200.9 kB / 1.285 GB, free: 356 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.9929, allocations: 5.819 MB / 1.291 GB, free: 10.52 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03122/1.024, allocations: 22.67 MB / 1.313 GB, free: 1.785 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/1.03, allocations: 2.524 MB / 1.315 GB, free: 15.14 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004571/1.035, allocations: 1.648 MB / 1.317 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.035, allocations: 114.1 kB / 1.317 GB, free: 13.35 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.035, allocations: 51.5 kB / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of pre-optimization done (n=116): time 3.246e-06/1.035, allocations: 0 / 1.317 GB, free: 13.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=146): time 0.03986/1.075, allocations: 11.63 MB / 1.328 GB, free: 1.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.075, allocations: 226.9 kB / 1.329 GB, free: 1.336 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/1.077, allocations: 1.043 MB / 1.33 GB, free: 292 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/1.077, allocations: 45.7 kB / 1.33 GB, free: 240 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/1.078, allocations: 1.239 MB / 1.331 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/1.079, allocations: 0.5046 MB / 1.331 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008882/1.079, allocations: 455.5 kB / 1.332 GB, free: 14.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.08, allocations: 341.9 kB / 1.332 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004832/1.084, allocations: 1.781 MB / 1.334 GB, free: 11.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005294/1.09, allocations: 2.471 MB / 1.336 GB, free: 9.086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009868/1.1, allocations: 4.257 MB / 1.34 GB, free: 4.523 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/1.1, allocations: 8 kB / 1.34 GB, free: 4.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01334/1.113, allocations: 5.099 MB / 1.345 GB, free: 15.39 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/1.113, allocations: 20.22 kB / 1.345 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/1.113, allocations: 28 kB / 1.345 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/1.116, allocations: 0.8831 MB / 1.346 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/1.12, allocations: 0.7526 MB / 1.347 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/1.136, allocations: 13.86 MB / 1.361 GB, free: 14.97 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00342/1.139, allocations: 471 kB / 1.361 GB, free: 14.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/1.14, allocations: 112 kB / 1.361 GB, free: 14.4 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006907/1.147, allocations: 2.861 MB / 1.364 GB, free: 11.53 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005431/1.152, allocations: 2.467 MB / 1.366 GB, free: 8.75 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01005/1.162, allocations: 4.237 MB / 1.371 GB, free: 4.203 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.366e-05/1.162, allocations: 8 kB / 1.371 GB, free: 4.195 MB / 1.092 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01292/1.175, allocations: 5.024 MB / 1.375 GB, free: 15.14 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.175, allocations: 12 kB / 1.375 GB, free: 15.13 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/1.175, allocations: 24.28 kB / 1.375 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/1.178, allocations: 0.8091 MB / 1.376 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00341/1.181, allocations: 0.7604 MB / 1.377 GB, free: 13.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/1.196, allocations: 13.69 MB / 1.39 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/1.2, allocations: 459.1 kB / 1.391 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004882/1.2, allocations: 115.9 kB / 1.391 GB, free: 14.42 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009273/1.201, allocations: 320 kB / 1.391 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006319/1.202, allocations: 122.6 kB / 1.391 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.214, allocations: 4.378 MB / 1.396 GB, free: 9.551 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.214, allocations: 7.969 kB / 1.396 GB, free: 9.543 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.214, allocations: 4 kB / 1.396 GB, free: 9.539 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.215, allocations: 459.5 kB / 1.396 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/1.216, allocations: 35.92 kB / 1.396 GB, free: 9.035 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002723/1.219, allocations: 375.4 kB / 1.396 GB, free: 8.668 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/1.219, allocations: 125 kB / 1.397 GB, free: 8.547 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01321/1.232, allocations: 4.873 MB / 1.401 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01377/1.246, allocations: 5.649 MB / 1.407 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004277/1.25, allocations: 1.599 MB / 1.408 GB, free: 12.37 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001173/1.252, allocations: 0.7449 MB / 1.409 GB, free: 11.62 MB / 1.139 GB Notification: Performance of Backend: time 4.91e-07/1.252, allocations: 0 / 1.409 GB, free: 11.62 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01799/1.27, allocations: 7.069 MB / 1.416 GB, free: 4.398 MB / 1.139 GB Notification: Performance of SimCode: time 0.009069/1.279, allocations: 5.092 MB / 1.421 GB, free: 15.27 MB / 1.154 GB Notification: Performance of Templates: time 0.08324/1.362, allocations: 53.86 MB / 1.474 GB, free: 9.441 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches