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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001022/0.001023, allocations: 98.88 kB / 16.02 MB, free: 76 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.001588/0.001588, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.553/1.553, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 11.98 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7867, allocations: 142.4 MB / 0.9557 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007228/0.794, allocations: 4.839 MB / 0.9604 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.7974, allocations: 1.67 MB / 0.9621 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.7978, allocations: 11 kB / 0.9621 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004339/0.7983, allocations: 103.8 kB / 0.9622 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008244/0.7991, allocations: 234.3 kB / 0.9624 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.7999, allocations: 200.4 kB / 0.9626 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.8032, allocations: 2.62 MB / 0.9652 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006247/0.8094, allocations: 3.129 MB / 0.9682 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.8109, allocations: 0.5117 MB / 0.9687 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.8129, allocations: 0.79 MB / 0.9695 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.8134, allocations: 88.78 kB / 0.9696 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.8145, allocations: 237.8 kB / 0.9698 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.8158, allocations: 0.5988 MB / 0.9704 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.8175, allocations: 0.5812 MB / 0.9709 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.821, allocations: 2.265 MB / 0.9732 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.821, allocations: 1.375 kB / 0.9732 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.976e-06/0.821, allocations: 0 / 0.9732 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.976e-05/0.8211, allocations: 0 / 0.9732 GB, free: 12.42 MB / 0.7325 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.004284/0.8254, allocations: 1.141 MB / 0.9743 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.8255, allocations: 13.56 kB / 0.9743 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.8288, allocations: 305.8 kB / 0.9746 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.8323, allocations: 0.7141 MB / 0.9753 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.8326, allocations: 92.44 kB / 0.9754 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008926/0.8335, allocations: 125.1 kB / 0.9755 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007605/0.8412, allocations: 2.13 MB / 0.9776 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.467e-05/0.8413, allocations: 0 / 0.9776 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004479/0.8417, allocations: 63.92 kB / 0.9776 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.8419, allocations: 62 kB / 0.9777 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005486/0.8473, allocations: 1.868 MB / 0.9795 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.8601, allocations: 7.76 MB / 0.9871 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.8603, allocations: 130.3 kB / 0.9872 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.8604, allocations: 79.5 kB / 0.9873 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.8606, allocations: 93.11 kB / 0.9874 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.8606, allocations: 34.55 kB / 0.9874 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.184e-06/0.8606, allocations: 0 / 0.9874 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0006294/0.8613, allocations: 268.8 kB / 0.9877 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/0.8614, allocations: 136.9 kB / 0.9878 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.8628, allocations: 0.9083 MB / 0.9887 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.8628, allocations: 33.7 kB / 0.9887 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00063/0.8634, allocations: 0.7586 MB / 0.9895 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.8635, allocations: 59.45 kB / 0.9895 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.8637, allocations: 97.67 kB / 0.9896 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.8639, allocations: 370.8 kB / 0.99 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.8646, allocations: 426.3 kB / 0.9904 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.8658, allocations: 1.165 MB / 0.9915 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.8676, allocations: 1.596 MB / 0.9931 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/0.8676, allocations: 11.94 kB / 0.9931 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002598/0.8702, allocations: 1.542 MB / 0.9946 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.8703, allocations: 16 kB / 0.9946 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/0.8703, allocations: 31.94 kB / 0.9946 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.624e-05/0.8704, allocations: 36.75 kB / 0.9947 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008287/0.8712, allocations: 279.5 kB / 0.9949 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.977e-05/0.8713, allocations: 59.78 kB / 0.995 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/0.8723, allocations: 190.3 kB / 0.9952 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8724, allocations: 72 kB / 0.9952 GB, free: 5.344 MB / 0.7481 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.0009602/0.8734, allocations: 0.6374 MB / 0.9959 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.8736, allocations: 59.34 kB / 0.9959 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.8739, allocations: 133.6 kB / 0.996 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8739, allocations: 4 kB / 0.996 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8739, allocations: 0 / 0.996 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8739, allocations: 0 / 0.996 GB, free: 4.477 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.8753, allocations: 0.7744 MB / 0.9968 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8753, allocations: 0 / 0.9968 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.8753, allocations: 8.25 kB / 0.9968 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.8754, allocations: 4 kB / 0.9968 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8754, allocations: 4 kB / 0.9968 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.8754, allocations: 4 kB / 0.9968 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.8754, allocations: 0 / 0.9968 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.8757, allocations: 373.2 kB / 0.9972 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.8759, allocations: 152.4 kB / 0.9973 GB, free: 3.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/0.876, allocations: 4 kB / 0.9973 GB, free: 3.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.8763, allocations: 15.97 kB / 0.9973 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.8764, allocations: 0 / 0.9973 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.8764, allocations: 4 kB / 0.9973 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008883/0.8773, allocations: 0.6395 MB / 0.998 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8773, allocations: 0 / 0.998 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001299/0.8786, allocations: 282.9 kB / 0.9982 GB, free: 2.137 MB / 0.7481 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.0001899/0.8788, allocations: 103.2 kB / 0.9983 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.8799, allocations: 0.7244 MB / 0.999 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8799, allocations: 0 / 0.999 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.88, allocations: 12 kB / 0.9991 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.8806, allocations: 52.05 kB / 0.9991 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.8841, allocations: 2.315 MB / 1.001 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.8855, allocations: 1.312 MB / 1.003 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.8856, allocations: 55.44 kB / 1.003 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of SimCode: time 7.22e-07/0.8857, allocations: 0 / 1.003 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of Templates: time 0.02023/0.9059, allocations: 12.06 MB / 1.014 GB, free: 1.43 MB / 0.7637 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