Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00621/0.00621, allocations: 106.8 kB / 15.74 MB, free: 5.949 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.001407/0.001408, allocations: 189.3 kB / 16.67 MB, free: 5.879 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 67.89 kB / 0.9509 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9636/0.9652, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008664/0.9739, allocations: 5.21 MB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004178/0.9782, allocations: 1.685 MB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.9788, allocations: 14.31 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.9805, allocations: 0.5194 MB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009535/0.9815, allocations: 241.9 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.9826, allocations: 235.1 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003276/0.9858, allocations: 1.676 MB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005654/0.9915, allocations: 2.53 MB / 1.1 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.9945, allocations: 0.7783 MB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001979/0.9965, allocations: 0.9314 MB / 1.101 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.9968, allocations: 188.9 kB / 1.102 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.9979, allocations: 319.9 kB / 1.102 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.9993, allocations: 0.7379 MB / 1.103 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/1.001, allocations: 0.7072 MB / 1.103 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0051/1.006, allocations: 2.657 MB / 1.106 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/1.006, allocations: 0 / 1.106 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.515e-06/1.006, allocations: 1.281 kB / 1.106 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001236/1.006, allocations: 0.7031 kB / 1.106 GB, free: 12.32 MB / 0.8731 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.00495/1.011, allocations: 1.365 MB / 1.107 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.011, allocations: 8.25 kB / 1.107 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.013, allocations: 309.8 kB / 1.108 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.014, allocations: 0.7231 MB / 1.108 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/1.014, allocations: 100.5 kB / 1.108 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/1.015, allocations: 124.6 kB / 1.108 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005193/1.02, allocations: 2.132 MB / 1.111 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/1.02, allocations: 0 / 1.111 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/1.02, allocations: 54.59 kB / 1.111 GB, free: 10 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/1.02, allocations: 58.59 kB / 1.111 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/1.025, allocations: 1.865 MB / 1.112 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/1.039, allocations: 7.667 MB / 1.12 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/1.039, allocations: 130.2 kB / 1.12 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/1.039, allocations: 79.39 kB / 1.12 GB, free: 3.852 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/1.039, allocations: 86.84 kB / 1.12 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/1.039, allocations: 41.55 kB / 1.12 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 3.697e-06/1.039, allocations: 0 / 1.12 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0008975/1.04, allocations: 273.4 kB / 1.121 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/1.04, allocations: 131.8 kB / 1.121 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/1.042, allocations: 0.9057 MB / 1.122 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.042, allocations: 31.58 kB / 1.122 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008165/1.043, allocations: 0.7677 MB / 1.122 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/1.043, allocations: 53.58 kB / 1.122 GB, free: 2.379 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005904/1.044, allocations: 269.3 kB / 1.123 GB, free: 2.238 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002327/1.044, allocations: 367.8 kB / 1.123 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008702/1.045, allocations: 429.8 kB / 1.123 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/1.047, allocations: 1.17 MB / 1.125 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/1.049, allocations: 1.593 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-05/1.05, allocations: 11.62 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004734/1.054, allocations: 1.54 MB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/1.054, allocations: 20 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.598e-05/1.054, allocations: 27.5 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.205e-05/1.055, allocations: 35.8 kB / 1.128 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/1.056, allocations: 280.6 kB / 1.128 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.973e-05/1.056, allocations: 52.42 kB / 1.128 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/1.057, allocations: 202.9 kB / 1.128 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/1.057, allocations: 72.03 kB / 1.128 GB, free: 14.45 MB / 0.8887 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.001366/1.059, allocations: 0.6334 MB / 1.129 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005446/1.059, allocations: 56.41 kB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/1.06, allocations: 135.5 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.06, allocations: 5.281 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.06, allocations: 0.75 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.06, allocations: 1.062 kB / 1.129 GB, free: 14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/1.061, allocations: 0.7708 MB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/1.061, allocations: 3.938 kB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/1.062, allocations: 5.25 kB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/1.062, allocations: 2.672 kB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.062, allocations: 1.094 kB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.062, allocations: 0.9688 kB / 1.13 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.062, allocations: 9.547 kB / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/1.062, allocations: 368.1 kB / 1.13 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/1.062, allocations: 134.8 kB / 1.13 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/1.062, allocations: 2.891 kB / 1.13 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/1.063, allocations: 11.47 kB / 1.13 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/1.063, allocations: 7.016 kB / 1.13 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.063, allocations: 1.438 kB / 1.13 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001083/1.064, allocations: 0.6445 MB / 1.131 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.131 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001915/1.066, allocations: 282.8 kB / 1.131 GB, free: 12.83 MB / 0.8887 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.0002365/1.066, allocations: 100.4 kB / 1.131 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.068, allocations: 0.7225 MB / 1.132 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.068, allocations: 320 / 1.132 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/1.068, allocations: 24.44 kB / 1.132 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/1.068, allocations: 45.3 kB / 1.132 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/1.072, allocations: 1.637 MB / 1.134 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.074, allocations: 1.284 MB / 1.135 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009979/1.075, allocations: 365.1 kB / 1.135 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/1.075, allocations: 44.95 kB / 1.135 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of SimCode: time 1.663e-06/1.075, allocations: 0 / 1.135 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of Templates: time 0.01588/1.091, allocations: 5.28 MB / 1.141 GB, free: 10.16 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches