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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001241/0.001241, allocations: 107.9 kB / 16.41 MB, free: 6.504 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.001238/0.001238, allocations: 192.2 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.577/2.577, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 63.84 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.845, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01905/0.8641, allocations: 17.12 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.8771, allocations: 6.101 MB / 1.231 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.8801, allocations: 47.88 kB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004924/0.8851, allocations: 1.567 MB / 1.232 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003117/0.8882, allocations: 1.058 MB / 1.234 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.8909, allocations: 1.05 MB / 1.235 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00459/0.8955, allocations: 4.225 MB / 1.239 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007069/0.9026, allocations: 5.652 MB / 1.244 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.9054, allocations: 1.874 MB / 1.246 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.9091, allocations: 2.244 MB / 1.248 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.9103, allocations: 440 kB / 1.249 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.9131, allocations: 1.112 MB / 1.25 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.9157, allocations: 1.747 MB / 1.251 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003329/0.919, allocations: 1.732 MB / 1.253 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.9264, allocations: 6.41 MB / 1.259 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9265, allocations: 0 / 1.259 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9265, allocations: 0 / 1.259 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001979/0.9267, allocations: 0 / 1.259 GB, free: 9.059 MB / 0.9825 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.008754/0.9354, allocations: 2.986 MB / 1.262 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9355, allocations: 16.03 kB / 1.262 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.9471, allocations: 2.01 MB / 1.264 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.9518, allocations: 1.628 MB / 1.266 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.9522, allocations: 222.3 kB / 1.266 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.9539, allocations: 284.4 kB / 1.266 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01637/0.9703, allocations: 5.77 MB / 1.272 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.9704, allocations: 7.938 kB / 1.272 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.9716, allocations: 120 kB / 1.272 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003684/0.9719, allocations: 204.9 kB / 1.272 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.9874, allocations: 5.815 MB / 1.278 GB, free: 5.793 MB / 0.9981 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.03102/1.018, allocations: 22.67 MB / 1.3 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005685/1.024, allocations: 2.51 MB / 1.303 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004238/1.028, allocations: 1.645 MB / 1.304 GB, free: 8.766 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.029, allocations: 118.1 kB / 1.304 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/1.029, allocations: 55.48 kB / 1.304 GB, free: 8.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=116): time 3.286e-06/1.029, allocations: 0 / 1.304 GB, free: 8.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=146): time 0.03705/1.066, allocations: 11.63 MB / 1.316 GB, free: 12.89 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/1.066, allocations: 222.9 kB / 1.316 GB, free: 12.62 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/1.067, allocations: 1.043 MB / 1.317 GB, free: 11.57 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002431/1.068, allocations: 49.7 kB / 1.317 GB, free: 11.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007065/1.068, allocations: 1.242 MB / 1.318 GB, free: 10.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/1.069, allocations: 0.5046 MB / 1.319 GB, free: 9.742 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000719/1.07, allocations: 463.5 kB / 1.319 GB, free: 9.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.07, allocations: 334 kB / 1.319 GB, free: 8.949 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/1.074, allocations: 1.781 MB / 1.321 GB, free: 7.156 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/1.079, allocations: 2.475 MB / 1.324 GB, free: 4.363 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009158/1.088, allocations: 4.261 MB / 1.328 GB, free: 15.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-05/1.088, allocations: 8 kB / 1.328 GB, free: 15.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01269/1.101, allocations: 5.087 MB / 1.333 GB, free: 10.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/1.101, allocations: 16 kB / 1.333 GB, free: 10.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/1.101, allocations: 23.94 kB / 1.333 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002782/1.104, allocations: 0.8872 MB / 1.334 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.107, allocations: 0.7643 MB / 1.334 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/1.122, allocations: 13.86 MB / 1.348 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.126, allocations: 467 kB / 1.348 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/1.126, allocations: 119.9 kB / 1.348 GB, free: 9.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006765/1.133, allocations: 2.857 MB / 1.351 GB, free: 6.812 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005552/1.138, allocations: 2.463 MB / 1.354 GB, free: 4.035 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01105/1.149, allocations: 4.234 MB / 1.358 GB, free: 15.49 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.169e-05/1.15, allocations: 12 kB / 1.358 GB, free: 15.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01281/1.162, allocations: 5.028 MB / 1.363 GB, free: 10.42 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.162, allocations: 16 kB / 1.363 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/1.162, allocations: 20 kB / 1.363 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.165, allocations: 0.8133 MB / 1.364 GB, free: 9.555 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/1.168, allocations: 0.7526 MB / 1.364 GB, free: 8.801 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/1.182, allocations: 13.69 MB / 1.378 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003453/1.186, allocations: 459.1 kB / 1.378 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005232/1.186, allocations: 112.4 kB / 1.378 GB, free: 9.707 MB / 1.107 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.0008673/1.187, allocations: 323.4 kB / 1.379 GB, free: 9.383 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/1.188, allocations: 118.7 kB / 1.379 GB, free: 9.266 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.199, allocations: 4.382 MB / 1.383 GB, free: 4.832 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.714e-05/1.199, allocations: 11.95 kB / 1.383 GB, free: 4.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.199, allocations: 4 kB / 1.383 GB, free: 4.816 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/1.2, allocations: 467.4 kB / 1.383 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/1.2, allocations: 23.94 kB / 1.383 GB, free: 4.316 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.203, allocations: 379.4 kB / 1.384 GB, free: 3.945 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.203, allocations: 121.1 kB / 1.384 GB, free: 3.828 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01233/1.215, allocations: 4.872 MB / 1.389 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01272/1.228, allocations: 5.653 MB / 1.394 GB, free: 9.25 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0039/1.232, allocations: 1.598 MB / 1.396 GB, free: 7.652 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001207/1.233, allocations: 0.7449 MB / 1.396 GB, free: 6.91 MB / 1.123 GB Notification: Performance of Backend: time 5e-07/1.233, allocations: 0 / 1.396 GB, free: 6.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01757/1.251, allocations: 7.077 MB / 1.403 GB, free: 15.68 MB / 1.139 GB Notification: Performance of SimCode: time 0.01021/1.261, allocations: 5.081 MB / 1.408 GB, free: 10.55 MB / 1.139 GB Notification: Performance of Templates: time 0.08072/1.342, allocations: 53.05 MB / 1.46 GB, free: 5.527 MB / 1.186 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