Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_11_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.005467/0.005467, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001305/0.001305, allocations: 189.7 kB / 16.67 MB, free: 5.973 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.615/2.615, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7507/0.7525, allocations: 159.1 MB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0199/0.7725, allocations: 16.41 MB / 1.236 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008914/0.7814, allocations: 5.723 MB / 1.242 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009526/0.7824, allocations: 47.88 kB / 1.242 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.7865, allocations: 1.536 MB / 1.243 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.7885, allocations: 0.8325 MB / 1.244 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.7912, allocations: 1.055 MB / 1.245 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004685/0.7959, allocations: 3.91 MB / 1.249 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007397/0.8033, allocations: 5.615 MB / 1.254 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.8059, allocations: 1.742 MB / 1.256 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.8091, allocations: 2.092 MB / 1.258 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009167/0.81, allocations: 420 kB / 1.259 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.8124, allocations: 1.073 MB / 1.26 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.8147, allocations: 1.657 MB / 1.261 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.8176, allocations: 1.603 MB / 1.263 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006283/0.8239, allocations: 6.074 MB / 1.269 GB, free: 24 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8239, allocations: 0 / 1.269 GB, free: 24 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8239, allocations: 0 / 1.269 GB, free: 24 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.761e-05/0.824, allocations: 0 / 1.269 GB, free: 24 kB / 0.9825 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.005199/0.8292, allocations: 2.821 MB / 1.272 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.8293, allocations: 12.03 kB / 1.272 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005409/0.8298, allocations: 428.9 kB / 1.272 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.833, allocations: 0.6822 MB / 1.273 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.8353, allocations: 1.439 MB / 1.274 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.8355, allocations: 214 kB / 1.274 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.8359, allocations: 272.3 kB / 1.275 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007125/0.8431, allocations: 4.727 MB / 1.279 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/0.8431, allocations: 3.984 kB / 1.279 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.8434, allocations: 108 kB / 1.279 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/0.8436, allocations: 152.6 kB / 1.279 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006601/0.8502, allocations: 4.085 MB / 1.283 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.8732, allocations: 20.15 MB / 1.303 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/0.8764, allocations: 1.898 MB / 1.305 GB, free: 8.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.8775, allocations: 0.7626 MB / 1.306 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.8777, allocations: 113.7 kB / 1.306 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.8778, allocations: 43.22 kB / 1.306 GB, free: 7.758 MB / 1.029 GB Notification: Performance of pre-optimization done (n=77): time 2.785e-06/0.8778, allocations: 0 / 1.306 GB, free: 7.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=92): time 0.01756/0.8953, allocations: 5.286 MB / 1.311 GB, free: 2.473 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.283e-05/0.8954, allocations: 141.5 kB / 1.311 GB, free: 2.301 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.8966, allocations: 0.9725 MB / 1.312 GB, free: 1.316 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/0.8967, allocations: 41.7 kB / 1.312 GB, free: 1.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/0.8975, allocations: 1.231 MB / 1.313 GB, free: 24 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.8978, allocations: 353.1 kB / 1.314 GB, free: 15.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005155/0.8983, allocations: 359.4 kB / 1.314 GB, free: 15.32 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8984, allocations: 333.9 kB / 1.314 GB, free: 14.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.8997, allocations: 0.8753 MB / 1.315 GB, free: 14.11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.9014, allocations: 1.514 MB / 1.317 GB, free: 12.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/0.9043, allocations: 2.449 MB / 1.319 GB, free: 9.562 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.9044, allocations: 8 kB / 1.319 GB, free: 9.555 MB / 1.045 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003597/0.908, allocations: 2.508 MB / 1.321 GB, free: 7.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.908, allocations: 12.19 kB / 1.321 GB, free: 7.023 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.908, allocations: 32 kB / 1.321 GB, free: 6.992 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/0.9081, allocations: 28 kB / 1.322 GB, free: 6.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.9104, allocations: 0.5187 MB / 1.322 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.029e-05/0.9105, allocations: 39.86 kB / 1.322 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.9115, allocations: 163.7 kB / 1.322 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.9116, allocations: 87.92 kB / 1.322 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002646/0.9143, allocations: 1.901 MB / 1.324 GB, free: 4.254 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001682/0.916, allocations: 1.506 MB / 1.326 GB, free: 2.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002967/0.9189, allocations: 2.422 MB / 1.328 GB, free: 15.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.207e-05/0.919, allocations: 11.94 kB / 1.328 GB, free: 15.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003629/0.9226, allocations: 2.489 MB / 1.33 GB, free: 13.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.9226, allocations: 17.97 kB / 1.33 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.9227, allocations: 24 kB / 1.33 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.9227, allocations: 28 kB / 1.331 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.925, allocations: 0.507 MB / 1.331 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-05/0.925, allocations: 47.84 kB / 1.331 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.9261, allocations: 147.9 kB / 1.331 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.9262, allocations: 87.97 kB / 1.331 GB, free: 12.38 MB / 1.061 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.0004043/0.9266, allocations: 296 kB / 1.332 GB, free: 12.08 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9269, allocations: 99.39 kB / 1.332 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.9297, allocations: 1.837 MB / 1.333 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.9297, allocations: 8 kB / 1.333 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9297, allocations: 7.938 kB / 1.333 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.9297, allocations: 7.969 kB / 1.333 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.9404, allocations: 9.047 MB / 1.342 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.9404, allocations: 12 kB / 1.342 GB, free: 16 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.9415, allocations: 255.8 kB / 1.343 GB, free: 15.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/0.9415, allocations: 12 kB / 1.343 GB, free: 15.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-05/0.9416, allocations: 31.98 kB / 1.343 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-05/0.9416, allocations: 23.88 kB / 1.343 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/0.9416, allocations: 19.88 kB / 1.343 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.9437, allocations: 1.768 MB / 1.344 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.9441, allocations: 296.4 kB / 1.345 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.9443, allocations: 28 kB / 1.345 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.945, allocations: 79.89 kB / 1.345 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.9451, allocations: 95.55 kB / 1.345 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.9452, allocations: 32 kB / 1.345 GB, free: 13.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009423/0.9461, allocations: 0.7293 MB / 1.346 GB, free: 12.49 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9462, allocations: 0 / 1.346 GB, free: 12.49 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002477/0.9486, allocations: 0.8085 MB / 1.346 GB, free: 11.68 MB / 1.076 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.002419/0.9511, allocations: 2.386 MB / 1.349 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004453/0.9555, allocations: 2.995 MB / 1.352 GB, free: 6.145 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.9556, allocations: 8.062 kB / 1.352 GB, free: 6.137 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008041/0.9564, allocations: 0.5718 MB / 1.352 GB, free: 5.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.9578, allocations: 180.8 kB / 1.352 GB, free: 5.402 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.9776, allocations: 14.85 MB / 1.367 GB, free: 5.566 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.9797, allocations: 2.105 MB / 1.369 GB, free: 3.426 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002258/0.982, allocations: 1.023 MB / 1.37 GB, free: 2.398 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.983, allocations: 0.7609 MB / 1.371 GB, free: 1.637 MB / 1.092 GB Notification: Performance of SimCode: time 1.233e-06/0.983, allocations: 0 / 1.371 GB, free: 1.637 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05602/1.039, allocations: 29.84 MB / 1.4 GB, free: 4.023 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.248/10.29, allocations: 13.42 kB / 1.4 GB, free: 4.012 MB / 1.123 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches