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.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.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.000833/0.0008331, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006917/0.006917, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.475/2.475, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 12 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8275, allocations: 142.4 MB / 0.955 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0191/0.8467, allocations: 15.75 MB / 0.9704 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.8581, allocations: 5.685 MB / 0.976 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/0.8599, allocations: 39.09 kB / 0.976 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.8612, allocations: 295.5 kB / 0.9763 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.8639, allocations: 0.7717 MB / 0.9771 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002634/0.8666, allocations: 0.7765 MB / 0.9778 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007279/0.8739, allocations: 6.049 MB / 0.9837 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01158/0.8855, allocations: 6.751 MB / 0.9903 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.8883, allocations: 1.179 MB / 0.9915 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.8918, allocations: 1.791 MB / 0.9932 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000825/0.8926, allocations: 184 kB / 0.9934 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.8957, allocations: 0.9906 MB / 0.9944 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.8982, allocations: 1.364 MB / 0.9957 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003056/0.9013, allocations: 1.277 MB / 0.9969 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.007638/0.9089, allocations: 5.789 MB / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.909, allocations: 0 / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.913e-06/0.909, allocations: 0 / 1.003 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001489/0.9091, allocations: 0 / 1.003 GB, free: 14.52 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.005996/0.9151, allocations: 2.228 MB / 1.005 GB, free: 12.23 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.9152, allocations: 8.031 kB / 1.005 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/0.9189, allocations: 0.6614 MB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/0.9216, allocations: 1.423 MB / 1.007 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.9218, allocations: 206 kB / 1.007 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006274/0.9225, allocations: 276.4 kB / 1.007 GB, free: 9.617 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.9326, allocations: 4.721 MB / 1.012 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/0.9326, allocations: 0 / 1.012 GB, free: 4.809 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.933, allocations: 116 kB / 1.012 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/0.9332, allocations: 148.6 kB / 1.012 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007145/0.9403, allocations: 4.089 MB / 1.016 GB, free: 452 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02492/0.9652, allocations: 20.31 MB / 1.036 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.9687, allocations: 1.901 MB / 1.038 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.9699, allocations: 0.747 MB / 1.039 GB, free: 7.348 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.97, allocations: 109.7 kB / 1.039 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.9701, allocations: 47.16 kB / 1.039 GB, free: 7.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=77): time 2.885e-06/0.9701, allocations: 0 / 1.039 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=92): time 0.02019/0.9903, allocations: 5.295 MB / 1.044 GB, free: 1.855 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.9905, allocations: 141.5 kB / 1.044 GB, free: 1.684 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/0.992, allocations: 0.9646 MB / 1.045 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.9922, allocations: 41.7 kB / 1.045 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000776/0.9929, allocations: 1.187 MB / 1.046 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.9933, allocations: 327.5 kB / 1.046 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.9935, allocations: 137.6 kB / 1.047 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9937, allocations: 326 kB / 1.047 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.995, allocations: 0.8744 MB / 1.048 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.997, allocations: 1.51 MB / 1.049 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/1, allocations: 2.449 MB / 1.052 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/1, allocations: 7.938 kB / 1.052 GB, free: 9.242 MB / 0.8106 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004027/1.004, allocations: 2.511 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000563/1.005, allocations: 0.7196 MB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.005, allocations: 20 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-05/1.005, allocations: 32 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/1.007, allocations: 0.5109 MB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.156e-05/1.008, allocations: 47.78 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.009, allocations: 163.5 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.009, allocations: 91.91 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/1.009, allocations: 4 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003854/1.013, allocations: 2.385 MB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-05/1.013, allocations: 20 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/1.013, allocations: 32.88 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/1.016, allocations: 0.5109 MB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-05/1.016, allocations: 47.8 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.017, allocations: 139.6 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.017, allocations: 83.98 kB / 1.059 GB, free: 1.629 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.002086/1.019, allocations: 1.226 MB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/1.019, allocations: 98.81 kB / 1.06 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/1.022, allocations: 1.825 MB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.023, allocations: 15.94 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.023, allocations: 4 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.023, allocations: 3.984 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/1.034, allocations: 9.05 MB / 1.071 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-05/1.034, allocations: 12 kB / 1.071 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/1.035, allocations: 255.7 kB / 1.071 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.807e-05/1.035, allocations: 12 kB / 1.071 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/1.035, allocations: 32 kB / 1.071 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.956e-05/1.036, allocations: 23.92 kB / 1.071 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/1.036, allocations: 15.94 kB / 1.071 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/1.038, allocations: 1.766 MB / 1.073 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/1.038, allocations: 331.8 kB / 1.073 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.038, allocations: 31.98 kB / 1.073 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/1.039, allocations: 71.91 kB / 1.073 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/1.039, allocations: 91.61 kB / 1.073 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/1.039, allocations: 40 kB / 1.073 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001032/1.041, allocations: 0.7293 MB / 1.074 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.4e-07/1.041, allocations: 0 / 1.074 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003104/1.044, allocations: 0.8047 MB / 1.075 GB, free: 15.97 MB / 0.8419 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.0003298/1.044, allocations: 166.9 kB / 1.075 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004524/1.049, allocations: 2.971 MB / 1.078 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/1.049, allocations: 4 kB / 1.078 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008146/1.049, allocations: 0.5745 MB / 1.078 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.052, allocations: 187.2 kB / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008428/1.06, allocations: 5.561 MB / 1.084 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002388/1.063, allocations: 2.105 MB / 1.086 GB, free: 4.219 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00269/1.065, allocations: 1.023 MB / 1.087 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/1.066, allocations: 95.41 kB / 1.087 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of SimCode: time 6.42e-07/1.066, allocations: 0 / 1.087 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of Templates: time 0.02892/1.095, allocations: 13.98 MB / 1.101 GB, free: 5.199 MB / 0.8575 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/jenkins/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