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.006429/0.006429, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001513/0.001514, allocations: 195 kB / 16.79 MB, free: 5.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.5/2.5, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.8105, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007146/0.8177, allocations: 5.242 MB / 0.9547 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003214/0.821, allocations: 1.682 MB / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.8215, allocations: 10.38 kB / 0.9564 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.8231, allocations: 0.4962 MB / 0.9568 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.8238, allocations: 224.3 kB / 0.9571 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006719/0.8245, allocations: 210.3 kB / 0.9573 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.827, allocations: 2.611 MB / 0.9598 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/0.8317, allocations: 2.899 MB / 0.9626 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.8331, allocations: 0.6417 MB / 0.9633 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.835, allocations: 0.962 MB / 0.9642 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006271/0.8356, allocations: 136.5 kB / 0.9643 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.8367, allocations: 286.8 kB / 0.9646 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001139/0.8379, allocations: 0.6897 MB / 0.9653 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.8393, allocations: 0.6468 MB / 0.9659 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002466/0.8418, allocations: 2.319 MB / 0.9682 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8418, allocations: 0 / 0.9682 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8418, allocations: 0 / 0.9682 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.118e-05/0.8419, allocations: 0 / 0.9682 GB, free: 12.95 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.004089/0.846, allocations: 1.367 MB / 0.9695 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.846, allocations: 9.281 kB / 0.9695 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.8479, allocations: 300.8 kB / 0.9698 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.8494, allocations: 0.7187 MB / 0.9705 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.8495, allocations: 96 kB / 0.9706 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.8499, allocations: 120.1 kB / 0.9707 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00424/0.8541, allocations: 2.133 MB / 0.9728 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.8542, allocations: 0 / 0.9728 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.8543, allocations: 59.23 kB / 0.9729 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/0.8544, allocations: 58 kB / 0.9729 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.8576, allocations: 1.866 MB / 0.9747 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009911/0.8676, allocations: 7.744 MB / 0.9823 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.8678, allocations: 126.3 kB / 0.9824 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.868, allocations: 87.45 kB / 0.9825 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.8681, allocations: 89.09 kB / 0.9826 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.8681, allocations: 38.48 kB / 0.9826 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.8682, allocations: 0 / 0.9826 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0005785/0.8687, allocations: 273.2 kB / 0.9829 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.8688, allocations: 136.4 kB / 0.983 GB, free: 15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.8701, allocations: 0.9044 MB / 0.9839 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.8701, allocations: 29.7 kB / 0.9839 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.8707, allocations: 0.7624 MB / 0.9847 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/0.8708, allocations: 51.53 kB / 0.9847 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/0.8711, allocations: 270.4 kB / 0.985 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.8713, allocations: 374.8 kB / 0.9853 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.8719, allocations: 430.2 kB / 0.9857 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.8731, allocations: 1.169 MB / 0.9869 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/0.8748, allocations: 1.596 MB / 0.9884 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/0.8749, allocations: 11.94 kB / 0.9885 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002254/0.8771, allocations: 1.535 MB / 0.99 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.8772, allocations: 24.22 kB / 0.99 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/0.8772, allocations: 27.98 kB / 0.99 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-05/0.8773, allocations: 36 kB / 0.99 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.8781, allocations: 283.4 kB / 0.9903 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-05/0.8781, allocations: 51.78 kB / 0.9904 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008235/0.8789, allocations: 198.1 kB / 0.9906 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/0.879, allocations: 72 kB / 0.9906 GB, free: 6.426 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.0008404/0.8799, allocations: 0.6394 MB / 0.9912 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.88, allocations: 59.34 kB / 0.9913 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.8803, allocations: 125.8 kB / 0.9914 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.8803, allocations: 0 / 0.9914 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8803, allocations: 0 / 0.9914 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8804, allocations: 4 kB / 0.9914 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8815, allocations: 0.7822 MB / 0.9922 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.8815, allocations: 0 / 0.9922 GB, free: 4.738 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.8816, allocations: 7.938 kB / 0.9922 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.8816, allocations: 0 / 0.9922 GB, free: 4.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.8816, allocations: 4 kB / 0.9922 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8816, allocations: 0 / 0.9922 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8816, allocations: 0 / 0.9922 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.8819, allocations: 369.4 kB / 0.9926 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.8821, allocations: 132.5 kB / 0.9927 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.8822, allocations: 3.938 kB / 0.9927 GB, free: 4.195 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.8825, allocations: 15.97 kB / 0.9927 GB, free: 4.18 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.8825, allocations: 3.938 kB / 0.9927 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.8825, allocations: 11.94 kB / 0.9927 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007575/0.8833, allocations: 0.6434 MB / 0.9933 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8833, allocations: 4 kB / 0.9933 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001207/0.8845, allocations: 275 kB / 0.9936 GB, free: 3.242 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.0002155/0.8847, allocations: 105.1 kB / 0.9937 GB, free: 3.133 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.8858, allocations: 0.7191 MB / 0.9944 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8858, allocations: 0 / 0.9944 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-05/0.8858, allocations: 21.55 kB / 0.9944 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.8864, allocations: 48.44 kB / 0.9945 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/0.89, allocations: 2.295 MB / 0.9967 GB, free: 12 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.8912, allocations: 1.312 MB / 0.998 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.8914, allocations: 51.44 kB / 0.998 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of SimCode: time 1.593e-06/0.8914, allocations: 0 / 0.998 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of Templates: time 0.01856/0.9099, allocations: 12.16 MB / 1.01 GB, free: 2.457 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