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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 148 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.001965/0.001965, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.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.546/2.546, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.868/0.8693, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.006844/0.8762, allocations: 5.21 MB / 0.9547 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003278/0.8795, allocations: 1.69 MB / 0.9563 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.8799, allocations: 13.59 kB / 0.9563 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.8816, allocations: 0.5219 MB / 0.9569 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.8822, allocations: 235.5 kB / 0.9571 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.8829, allocations: 235.4 kB / 0.9573 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001668/0.8845, allocations: 1.679 MB / 0.9589 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.8876, allocations: 2.545 MB / 0.9614 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.889, allocations: 0.7737 MB / 0.9622 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.8901, allocations: 0.9272 MB / 0.9631 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003034/0.8904, allocations: 190.2 kB / 0.9633 GB, free: 120 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000722/0.8912, allocations: 321 kB / 0.9636 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008452/0.892, allocations: 0.7375 MB / 0.9643 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008963/0.8929, allocations: 0.7144 MB / 0.965 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.8956, allocations: 2.647 MB / 0.9676 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.8956, allocations: 0.9688 kB / 0.9676 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8956, allocations: 0 / 0.9676 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.4e-05/0.8956, allocations: 0 / 0.9676 GB, free: 13.13 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.003168/0.8988, allocations: 1.371 MB / 0.9689 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.8989, allocations: 9.562 kB / 0.9689 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.9005, allocations: 299.6 kB / 0.9692 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.9018, allocations: 0.7181 MB / 0.9699 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.9018, allocations: 88.81 kB / 0.97 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.9021, allocations: 121.1 kB / 0.9701 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003787/0.9059, allocations: 2.144 MB / 0.9722 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.9059, allocations: 3.938 kB / 0.9722 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.9061, allocations: 54.61 kB / 0.9723 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.9062, allocations: 58.41 kB / 0.9723 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/0.9094, allocations: 1.871 MB / 0.9741 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009383/0.9188, allocations: 7.736 MB / 0.9817 GB, free: 176 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.919, allocations: 130.3 kB / 0.9818 GB, free: 8 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.9191, allocations: 79.5 kB / 0.9819 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.9192, allocations: 93.09 kB / 0.982 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.9193, allocations: 42.48 kB / 0.982 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.715e-06/0.9193, allocations: 0 / 0.982 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.000549/0.9198, allocations: 256.9 kB / 0.9823 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.9199, allocations: 140.8 kB / 0.9824 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.921, allocations: 0.916 MB / 0.9833 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.921, allocations: 29.7 kB / 0.9833 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.9216, allocations: 0.7508 MB / 0.9841 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.9216, allocations: 59.52 kB / 0.9841 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.922, allocations: 266.5 kB / 0.9844 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.9222, allocations: 374.7 kB / 0.9847 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/0.9228, allocations: 426.3 kB / 0.9851 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.9239, allocations: 1.165 MB / 0.9863 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.9257, allocations: 1.598 MB / 0.9878 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/0.9258, allocations: 11.94 kB / 0.9879 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.00245/0.9282, allocations: 1.542 MB / 0.9894 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.9282, allocations: 16 kB / 0.9894 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/0.9283, allocations: 28 kB / 0.9894 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.113e-05/0.9284, allocations: 36.81 kB / 0.9894 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/0.9292, allocations: 279.4 kB / 0.9897 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.724e-05/0.9293, allocations: 59.78 kB / 0.9898 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/0.9303, allocations: 198.1 kB / 0.9899 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.9304, allocations: 72 kB / 0.99 GB, free: 6.742 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.0008864/0.9313, allocations: 0.6355 MB / 0.9906 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.9315, allocations: 55.34 kB / 0.9907 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.9318, allocations: 129.8 kB / 0.9908 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.9318, allocations: 4 kB / 0.9908 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9319, allocations: 256 / 0.9908 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.9319, allocations: 3.938 kB / 0.9908 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.9332, allocations: 0.7783 MB / 0.9916 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.9332, allocations: 4 kB / 0.9916 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.9333, allocations: 8 kB / 0.9916 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.9333, allocations: 4 kB / 0.9916 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.9333, allocations: 0 / 0.9916 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.9333, allocations: 7.938 kB / 0.9916 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9333, allocations: 0 / 0.9916 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.9336, allocations: 365.4 kB / 0.992 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.9338, allocations: 132.5 kB / 0.9921 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.403e-05/0.9339, allocations: 4 kB / 0.9921 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.9342, allocations: 15.97 kB / 0.9921 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.9343, allocations: 0 / 0.9921 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.9343, allocations: 0 / 0.9921 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008202/0.9351, allocations: 0.6512 MB / 0.9927 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.81e-07/0.9351, allocations: 0 / 0.9927 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001395/0.9365, allocations: 275 kB / 0.993 GB, free: 3.57 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.000255/0.9368, allocations: 115.2 kB / 0.9931 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.938, allocations: 0.7085 MB / 0.9938 GB, free: 2.746 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.938, allocations: 4 kB / 0.9938 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.9381, allocations: 19.92 kB / 0.9938 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.9387, allocations: 44.06 kB / 0.9939 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.9421, allocations: 1.661 MB / 0.9955 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.9435, allocations: 1.284 MB / 0.9967 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008553/0.9444, allocations: 361.2 kB / 0.9971 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.9445, allocations: 47.44 kB / 0.9971 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of SimCode: time 5.51e-07/0.9445, allocations: 0 / 0.9971 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of Templates: time 0.01337/0.9579, allocations: 4.876 MB / 1.002 GB, free: 10.4 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/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