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.001369/0.001369, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001425/0.001425, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.16 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.324/2.324, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8676, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006983/0.8746, allocations: 5.21 MB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002751/0.8774, allocations: 1.686 MB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.8777, allocations: 14.09 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.8791, allocations: 0.5187 MB / 1.096 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.8797, allocations: 241.5 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.8804, allocations: 231.7 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002045/0.8825, allocations: 1.676 MB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.8857, allocations: 2.534 MB / 1.1 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.8873, allocations: 0.7757 MB / 1.101 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.8886, allocations: 0.9286 MB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.8889, allocations: 190 kB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.8896, allocations: 315.4 kB / 1.103 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008656/0.8905, allocations: 0.7427 MB / 1.103 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008018/0.8913, allocations: 0.7063 MB / 1.104 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.8946, allocations: 2.658 MB / 1.107 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8946, allocations: 0 / 1.107 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8946, allocations: 1.688 kB / 1.107 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.137e-05/0.8947, allocations: 0 / 1.107 GB, free: 12.37 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.003115/0.8978, allocations: 1.365 MB / 1.108 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.8979, allocations: 12.41 kB / 1.108 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.8995, allocations: 302.3 kB / 1.108 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.9007, allocations: 0.7239 MB / 1.109 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.9009, allocations: 101 kB / 1.109 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.9012, allocations: 120 kB / 1.109 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/0.9054, allocations: 2.144 MB / 1.111 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.9055, allocations: 0 / 1.111 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/0.9056, allocations: 47.98 kB / 1.111 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.323e-05/0.9057, allocations: 57.48 kB / 1.111 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.9091, allocations: 1.87 MB / 1.113 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.9201, allocations: 7.655 MB / 1.121 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.9204, allocations: 134 kB / 1.121 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.9205, allocations: 79.59 kB / 1.121 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.9207, allocations: 90.98 kB / 1.121 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.9207, allocations: 41.67 kB / 1.121 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 3.477e-06/0.9207, allocations: 0 / 1.121 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of matching and sorting (n=9): time 0.0007813/0.9215, allocations: 269.2 kB / 1.121 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.9216, allocations: 131.6 kB / 1.121 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.9232, allocations: 0.909 MB / 1.122 GB, free: 3.121 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.9233, allocations: 26.64 kB / 1.122 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/0.924, allocations: 0.7657 MB / 1.123 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.924, allocations: 60.94 kB / 1.123 GB, free: 2.434 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004385/0.9245, allocations: 265.1 kB / 1.123 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.9247, allocations: 371.4 kB / 1.124 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.9254, allocations: 425.4 kB / 1.124 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.9269, allocations: 1.17 MB / 1.125 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.9287, allocations: 1.594 MB / 1.127 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.9288, allocations: 11.66 kB / 1.127 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002494/0.9313, allocations: 1.548 MB / 1.128 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.9313, allocations: 16.81 kB / 1.128 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/0.9313, allocations: 27.77 kB / 1.128 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.408e-05/0.9314, allocations: 37.86 kB / 1.128 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008526/0.9323, allocations: 281.9 kB / 1.129 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.522e-05/0.9323, allocations: 51.98 kB / 1.129 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.9333, allocations: 198.5 kB / 1.129 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.9334, allocations: 72.55 kB / 1.129 GB, free: 14.51 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.001028/0.9344, allocations: 0.6328 MB / 1.13 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.9346, allocations: 57.5 kB / 1.13 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.9349, allocations: 134.6 kB / 1.13 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.9349, allocations: 5.062 kB / 1.13 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.9349, allocations: 1.156 kB / 1.13 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9349, allocations: 1.578 kB / 1.13 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.9363, allocations: 0.7774 MB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.9363, allocations: 1.781 kB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.9363, allocations: 5.172 kB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9364, allocations: 1 kB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.9364, allocations: 1.156 kB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9364, allocations: 2.109 kB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9364, allocations: 1.312 kB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.9367, allocations: 372.6 kB / 1.131 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.9368, allocations: 129.8 kB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.9369, allocations: 2.703 kB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.9372, allocations: 12.88 kB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.9372, allocations: 1.891 kB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.9372, allocations: 13.28 kB / 1.131 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008908/0.9381, allocations: 0.6486 MB / 1.132 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9381, allocations: 0 / 1.132 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0012/0.9393, allocations: 283.4 kB / 1.132 GB, free: 12.88 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.0001647/0.9395, allocations: 102 kB / 1.132 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.9406, allocations: 0.7191 MB / 1.133 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9406, allocations: 0 / 1.133 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/0.9407, allocations: 20.7 kB / 1.133 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.9412, allocations: 49.84 kB / 1.133 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.9444, allocations: 1.856 MB / 1.135 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.9456, allocations: 1.311 MB / 1.136 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.9457, allocations: 56.06 kB / 1.136 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of SimCode: time 3.41e-07/0.9457, allocations: 0 / 1.136 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of Templates: time 0.0223/0.9681, allocations: 12.28 MB / 1.148 GB, free: 6.359 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/jenkins1/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