Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.552/1.552, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.903/2.903, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001997, allocations: 68.03 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8386/0.8406, allocations: 151.6 MB / 1.017 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.009817/0.8505, allocations: 5.206 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.854, allocations: 1.691 MB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.8542, allocations: 16 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.8558, allocations: 0.5173 MB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005914/0.8564, allocations: 243 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006328/0.8571, allocations: 235.5 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001837/0.8589, allocations: 1.676 MB / 1.027 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.862, allocations: 2.549 MB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.8632, allocations: 0.7639 MB / 1.03 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.8644, allocations: 0.9351 MB / 1.031 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002673/0.8647, allocations: 188 kB / 1.031 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006737/0.8654, allocations: 323.7 kB / 1.031 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008098/0.8662, allocations: 0.7409 MB / 1.032 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000871/0.8671, allocations: 0.7045 MB / 1.033 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002722/0.8698, allocations: 2.645 MB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8698, allocations: 0 / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8699, allocations: 0 / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.293e-05/0.8699, allocations: 0 / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002582/0.8725, allocations: 1.367 MB / 1.037 GB, free: 14.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8725, allocations: 11.98 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.874, allocations: 311.3 kB / 1.037 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.8752, allocations: 0.7175 MB / 1.038 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.8753, allocations: 90.88 kB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.8755, allocations: 120.4 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/0.8791, allocations: 2.141 MB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.8791, allocations: 0 / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.8793, allocations: 55.92 kB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-05/0.8794, allocations: 58.06 kB / 1.04 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.8824, allocations: 1.874 MB / 1.042 GB, free: 9.203 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009696/0.8921, allocations: 7.733 MB / 1.049 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.8924, allocations: 142.2 kB / 1.05 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.8925, allocations: 75.52 kB / 1.05 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.8926, allocations: 89.09 kB / 1.05 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.8927, allocations: 38.5 kB / 1.05 GB, free: 456 kB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.8927, allocations: 0 / 1.05 GB, free: 456 kB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005748/0.8932, allocations: 268.8 kB / 1.05 GB, free: 180 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/0.8934, allocations: 136.5 kB / 1.05 GB, free: 12 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.8947, allocations: 0.9045 MB / 1.051 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.8947, allocations: 25.7 kB / 1.051 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005748/0.8953, allocations: 0.7625 MB / 1.052 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.8954, allocations: 59.58 kB / 1.052 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.8958, allocations: 262.8 kB / 1.052 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0003537/0.8962, allocations: 378.8 kB / 1.052 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005905/0.8968, allocations: 422.3 kB / 1.053 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.898, allocations: 1.165 MB / 1.054 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.9001, allocations: 1.596 MB / 1.056 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.9001, allocations: 11.94 kB / 1.056 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002316/0.9024, allocations: 1.543 MB / 1.057 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.9025, allocations: 16 kB / 1.057 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.9025, allocations: 28 kB / 1.057 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-05/0.9025, allocations: 36 kB / 1.057 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.9033, allocations: 283.4 kB / 1.057 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.254e-05/0.9034, allocations: 51.8 kB / 1.057 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.9042, allocations: 198.2 kB / 1.058 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.9043, allocations: 71.98 kB / 1.058 GB, free: 7.441 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000821/0.9051, allocations: 0.6381 MB / 1.058 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.9053, allocations: 55.34 kB / 1.058 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.9056, allocations: 126 kB / 1.059 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.9056, allocations: 3.984 kB / 1.059 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.9056, allocations: 15.98 kB / 1.059 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.9056, allocations: 0 / 1.059 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.9068, allocations: 0.7782 MB / 1.059 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9068, allocations: 4 kB / 1.059 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.9068, allocations: 7.938 kB / 1.059 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.9068, allocations: 3.938 kB / 1.059 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.9069, allocations: 0 / 1.059 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.9069, allocations: 7.984 kB / 1.059 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9069, allocations: 0 / 1.059 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.9072, allocations: 373.3 kB / 1.06 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.9074, allocations: 124.5 kB / 1.06 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.9074, allocations: 4 kB / 1.06 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.9077, allocations: 7.984 kB / 1.06 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.9077, allocations: 7.938 kB / 1.06 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.9077, allocations: 0 / 1.06 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008366/0.9086, allocations: 0.6512 MB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9086, allocations: 0 / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001104/0.9097, allocations: 279 kB / 1.061 GB, free: 4.262 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001618/0.9098, allocations: 107.2 kB / 1.061 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001018/0.9109, allocations: 0.7126 MB / 1.062 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9109, allocations: 0 / 1.062 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.9109, allocations: 23.92 kB / 1.062 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.9114, allocations: 43.69 kB / 1.062 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.9141, allocations: 1.658 MB / 1.063 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.9152, allocations: 1.28 MB / 1.064 GB, free: 380 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008086/0.9161, allocations: 365.2 kB / 1.065 GB, free: 12 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.9162, allocations: 47.42 kB / 1.065 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of SimCode: time 4.5e-07/0.9162, allocations: 0 / 1.065 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.01262/0.9288, allocations: 4.877 MB / 1.07 GB, free: 11.09 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches