Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009808/0.000981, allocations: 92.16 kB / 16.02 MB, free: 80 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.001358/0.001358, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.407/1.407, allocations: 223.3 MB / 241 MB, free: 5.344 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.44/2.44, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003402, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7084/0.7088, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01613/0.7249, allocations: 15.76 MB / 0.9711 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.7351, allocations: 5.685 MB / 0.9767 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.7363, allocations: 38.47 kB / 0.9767 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.7373, allocations: 292.6 kB / 0.977 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.7397, allocations: 0.7783 MB / 0.9777 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.742, allocations: 0.7821 MB / 0.9785 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006434/0.7485, allocations: 6.043 MB / 0.9844 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01045/0.7589, allocations: 6.736 MB / 0.991 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.7615, allocations: 1.191 MB / 0.9921 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.765, allocations: 1.791 MB / 0.9939 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000434/0.7654, allocations: 180 kB / 0.9941 GB, free: 8.004 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.7675, allocations: 0.9828 MB / 0.995 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.7689, allocations: 1.372 MB / 0.9964 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.7704, allocations: 1.281 MB / 0.9976 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005118/0.7755, allocations: 5.11 MB / 1.003 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.7755, allocations: 4 kB / 1.003 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7755, allocations: 0 / 1.003 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.00014/0.7757, allocations: 0 / 1.003 GB, free: 15.22 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005057/0.7807, allocations: 2.227 MB / 1.005 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7808, allocations: 8.031 kB / 1.005 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003513/0.7843, allocations: 0.6653 MB / 1.005 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.7871, allocations: 1.427 MB / 1.007 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.7873, allocations: 210 kB / 1.007 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006749/0.788, allocations: 272.4 kB / 1.007 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008844/0.7969, allocations: 4.716 MB / 1.012 GB, free: 5.52 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.797, allocations: 3.938 kB / 1.012 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.7973, allocations: 116 kB / 1.012 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.7975, allocations: 152.6 kB / 1.012 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006639/0.8041, allocations: 4.085 MB / 1.016 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02227/0.8264, allocations: 20.3 MB / 1.036 GB, free: 10.87 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.8295, allocations: 1.909 MB / 1.038 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.8307, allocations: 0.747 MB / 1.039 GB, free: 8.055 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.8308, allocations: 105.7 kB / 1.039 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.8309, allocations: 43.22 kB / 1.039 GB, free: 7.883 MB / 0.795 GB Notification: Performance of pre-optimization done (n=77): time 4.378e-06/0.8309, allocations: 7.938 kB / 1.039 GB, free: 7.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=92): time 0.01871/0.8496, allocations: 5.287 MB / 1.044 GB, free: 2.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/0.8497, allocations: 141.5 kB / 1.044 GB, free: 2.398 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.8509, allocations: 0.9724 MB / 1.045 GB, free: 1.418 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.106e-05/0.851, allocations: 37.7 kB / 1.045 GB, free: 1.375 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006997/0.8517, allocations: 1.187 MB / 1.046 GB, free: 172 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/0.852, allocations: 327.5 kB / 1.046 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.8522, allocations: 141.6 kB / 1.047 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8524, allocations: 326 kB / 1.047 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.8536, allocations: 0.8705 MB / 1.048 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.8552, allocations: 1.514 MB / 1.049 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.8581, allocations: 2.453 MB / 1.052 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.8581, allocations: 4 kB / 1.052 GB, free: 9.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003654/0.8617, allocations: 2.511 MB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004899/0.8622, allocations: 0.7142 MB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/0.8623, allocations: 24 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.064e-05/0.8623, allocations: 28 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/0.8648, allocations: 0.5148 MB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.333e-05/0.8649, allocations: 47.78 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.866, allocations: 163.5 kB / 1.056 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.8662, allocations: 87.92 kB / 1.056 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8662, allocations: 4 kB / 1.056 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003401/0.8696, allocations: 2.389 MB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.344e-05/0.8697, allocations: 27.94 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.8697, allocations: 28.84 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.8721, allocations: 0.5109 MB / 1.059 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-05/0.8722, allocations: 43.86 kB / 1.059 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.8732, allocations: 135.7 kB / 1.059 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.8733, allocations: 83.98 kB / 1.059 GB, free: 2.34 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.001764/0.8751, allocations: 1.226 MB / 1.06 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.8754, allocations: 102.8 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.8783, allocations: 1.821 MB / 1.062 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.8783, allocations: 12 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.8783, allocations: 4 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.8783, allocations: 3.984 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.8896, allocations: 9.05 MB / 1.071 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.8897, allocations: 12 kB / 1.071 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.8908, allocations: 255.7 kB / 1.071 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/0.8908, allocations: 16 kB / 1.071 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.425e-05/0.8909, allocations: 35.98 kB / 1.071 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-05/0.8909, allocations: 27.86 kB / 1.071 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.8909, allocations: 15.94 kB / 1.071 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.8932, allocations: 1.762 MB / 1.073 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/0.8939, allocations: 327.7 kB / 1.073 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/0.8943, allocations: 35.98 kB / 1.073 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000911/0.8952, allocations: 71.91 kB / 1.073 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.8953, allocations: 95.55 kB / 1.073 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.187e-05/0.8954, allocations: 36 kB / 1.073 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001126/0.8965, allocations: 0.7293 MB / 1.074 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8966, allocations: 0 / 1.074 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003091/0.8996, allocations: 0.8047 MB / 1.075 GB, free: 0.6836 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.000335/0.9, allocations: 176.5 kB / 1.075 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004544/0.9046, allocations: 2.964 MB / 1.078 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.9046, allocations: 4 kB / 1.078 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008106/0.9054, allocations: 0.5744 MB / 1.078 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002529/0.9079, allocations: 176 kB / 1.079 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/0.9176, allocations: 6.029 MB / 1.084 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/0.9202, allocations: 2.168 MB / 1.087 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/0.9207, allocations: 111.4 kB / 1.087 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of SimCode: time 1.473e-06/0.9207, allocations: 0 / 1.087 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.04101/0.9618, allocations: 26.61 MB / 1.113 GB, free: 9.691 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches