Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 112.5 kB / 15.73 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.001647/0.001647, allocations: 188.5 kB / 16.67 MB, free: 6.543 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7421 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.89 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3087, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02154/0.3303, allocations: 16.43 MB / 1.236 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009353/0.3397, allocations: 5.716 MB / 1.241 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.3408, allocations: 43.88 kB / 1.241 GB, free: 8.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003912/0.3448, allocations: 1.536 MB / 1.243 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.3469, allocations: 0.8325 MB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.3494, allocations: 1.059 MB / 1.245 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003974/0.3534, allocations: 3.918 MB / 1.249 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6206/0.974, allocations: 5.616 MB / 1.254 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.9762, allocations: 1.754 MB / 1.256 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.9782, allocations: 2.097 MB / 1.258 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.9786, allocations: 416 kB / 1.258 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.9801, allocations: 1.065 MB / 1.259 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.9818, allocations: 1.652 MB / 1.261 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.9836, allocations: 1.605 MB / 1.262 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007898/0.9915, allocations: 6.068 MB / 1.268 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.9916, allocations: 1.906 kB / 1.268 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9916, allocations: 0 / 1.268 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001832/0.9918, allocations: 0 / 1.268 GB, free: 7.398 MB / 0.9981 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.006853/0.9986, allocations: 2.831 MB / 1.271 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.9987, allocations: 9.641 kB / 1.271 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006712/0.9993, allocations: 423.5 kB / 1.272 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/1.003, allocations: 0.6753 MB / 1.272 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/1.006, allocations: 1.448 MB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/1.006, allocations: 210.9 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005556/1.007, allocations: 268.5 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01/1.017, allocations: 4.724 MB / 1.279 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.516e-05/1.017, allocations: 5.828 kB / 1.279 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005596/1.017, allocations: 116.6 kB / 1.279 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/1.018, allocations: 148.2 kB / 1.279 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008334/1.026, allocations: 4.093 MB / 1.283 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03023/1.056, allocations: 20.15 MB / 1.303 GB, free: 5.152 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004014/1.06, allocations: 1.9 MB / 1.304 GB, free: 4.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/1.062, allocations: 0.7668 MB / 1.305 GB, free: 3.762 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001867/1.062, allocations: 112.4 kB / 1.305 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.062, allocations: 42.81 kB / 1.305 GB, free: 3.617 MB / 1.014 GB Notification: Performance of pre-optimization done (n=77): time 3.176e-06/1.062, allocations: 0 / 1.305 GB, free: 3.617 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.02069/1.083, allocations: 5.272 MB / 1.311 GB, free: 1.461 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/1.083, allocations: 150 kB / 1.311 GB, free: 1.297 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/1.084, allocations: 0.9692 MB / 1.312 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.085, allocations: 40.95 kB / 1.312 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009028/1.086, allocations: 1.233 MB / 1.313 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/1.086, allocations: 352.7 kB / 1.313 GB, free: 15.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006815/1.087, allocations: 361.8 kB / 1.314 GB, free: 15.47 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.087, allocations: 329.4 kB / 1.314 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/1.088, allocations: 0.879 MB / 1.315 GB, free: 14.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/1.09, allocations: 1.51 MB / 1.316 GB, free: 13.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/1.093, allocations: 2.449 MB / 1.319 GB, free: 12.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.103e-05/1.093, allocations: 5.594 kB / 1.319 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004073/1.097, allocations: 2.519 MB / 1.321 GB, free: 11.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/1.097, allocations: 13.69 kB / 1.321 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.514e-05/1.097, allocations: 22.03 kB / 1.321 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.434e-05/1.097, allocations: 30.66 kB / 1.321 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.1, allocations: 0.5153 MB / 1.322 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-05/1.1, allocations: 46.14 kB / 1.322 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.101, allocations: 160.2 kB / 1.322 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.101, allocations: 90.98 kB / 1.322 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003201/1.104, allocations: 1.901 MB / 1.324 GB, free: 10.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001809/1.106, allocations: 1.497 MB / 1.325 GB, free: 9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003035/1.109, allocations: 2.432 MB / 1.328 GB, free: 7.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-05/1.109, allocations: 14.34 kB / 1.328 GB, free: 7.234 MB / 1.029 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003949/1.113, allocations: 2.485 MB / 1.33 GB, free: 6.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.113, allocations: 14.03 kB / 1.33 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/1.113, allocations: 26.09 kB / 1.33 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/1.113, allocations: 30.22 kB / 1.33 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/1.116, allocations: 0.5134 MB / 1.331 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.606e-05/1.116, allocations: 42.89 kB / 1.331 GB, free: 5.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/1.117, allocations: 149.2 kB / 1.331 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/1.117, allocations: 85.27 kB / 1.331 GB, free: 5.859 MB / 1.029 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.0004237/1.118, allocations: 289.6 kB / 1.331 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/1.118, allocations: 106.1 kB / 1.331 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/1.121, allocations: 1.824 MB / 1.333 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.121, allocations: 13.8 kB / 1.333 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/1.121, allocations: 5.406 kB / 1.333 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/1.121, allocations: 5.266 kB / 1.333 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/1.134, allocations: 9.062 MB / 1.342 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/1.134, allocations: 11 kB / 1.342 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.135, allocations: 253.9 kB / 1.342 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/1.135, allocations: 18.81 kB / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-05/1.135, allocations: 30.41 kB / 1.342 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.266e-05/1.135, allocations: 21.61 kB / 1.342 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.135, allocations: 20.66 kB / 1.342 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/1.137, allocations: 1.765 MB / 1.344 GB, free: 11.41 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006256/1.138, allocations: 295.8 kB / 1.344 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/1.138, allocations: 27.73 kB / 1.344 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/1.139, allocations: 72.88 kB / 1.344 GB, free: 11.14 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/1.139, allocations: 99.86 kB / 1.344 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/1.139, allocations: 33.31 kB / 1.344 GB, free: 11.09 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001059/1.141, allocations: 0.7297 MB / 1.345 GB, free: 10.68 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.141, allocations: 0 / 1.345 GB, free: 10.68 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004033/1.145, allocations: 0.8033 MB / 1.346 GB, free: 10.61 MB / 1.045 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.002698/1.147, allocations: 2.392 MB / 1.348 GB, free: 8.688 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004422/1.152, allocations: 2.997 MB / 1.351 GB, free: 7.312 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/1.152, allocations: 8.25 kB / 1.351 GB, free: 7.309 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007255/1.152, allocations: 0.5702 MB / 1.352 GB, free: 7.027 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.154, allocations: 174.2 kB / 1.352 GB, free: 6.938 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.177, allocations: 14.86 MB / 1.366 GB, free: 8.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/1.179, allocations: 2.112 MB / 1.369 GB, free: 6.359 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002224/1.182, allocations: 1.019 MB / 1.37 GB, free: 5.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.183, allocations: 0.7531 MB / 1.37 GB, free: 4.582 MB / 1.061 GB Notification: Performance of SimCode: time 1.864e-06/1.183, allocations: 4 kB / 1.37 GB, free: 4.578 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05464/1.237, allocations: 29.86 MB / 1.399 GB, free: 7.012 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.798/10.04, allocations: 16.09 kB / 1.399 GB, free: 7 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches