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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007933/0.007933, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.002107/0.002108, allocations: 188 kB / 16.67 MB, free: 5.914 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 67.88 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3132, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.6029/0.9161, allocations: 16.41 MB / 1.257 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007685/0.9238, allocations: 5.717 MB / 1.263 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.9245, allocations: 47.25 kB / 1.263 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003175/0.9277, allocations: 1.538 MB / 1.265 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.9294, allocations: 0.8287 MB / 1.265 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.9319, allocations: 1.055 MB / 1.266 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003727/0.9356, allocations: 3.921 MB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005782/0.9414, allocations: 5.612 MB / 1.276 GB, free: 104 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.9443, allocations: 1.747 MB / 1.277 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.9475, allocations: 2.096 MB / 1.28 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006889/0.9482, allocations: 416.8 kB / 1.28 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.9505, allocations: 1.063 MB / 1.281 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002064/0.9526, allocations: 1.661 MB / 1.283 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.9556, allocations: 1.598 MB / 1.284 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008182/0.9638, allocations: 6.067 MB / 1.29 GB, free: 10.61 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9638, allocations: 0.75 kB / 1.29 GB, free: 10.61 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.957e-06/0.9638, allocations: 0 / 1.29 GB, free: 10.61 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001383/0.9639, allocations: 9.344 kB / 1.29 GB, free: 10.6 MB / 1.014 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.007526/0.9715, allocations: 2.826 MB / 1.293 GB, free: 8.953 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9715, allocations: 9.844 kB / 1.293 GB, free: 8.953 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007768/0.9723, allocations: 429.7 kB / 1.293 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003499/0.9758, allocations: 0.6757 MB / 1.294 GB, free: 8.535 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/0.9784, allocations: 1.449 MB / 1.295 GB, free: 7.727 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.9785, allocations: 208 kB / 1.296 GB, free: 7.633 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000478/0.979, allocations: 270.1 kB / 1.296 GB, free: 7.543 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008629/0.9877, allocations: 4.718 MB / 1.3 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.814e-05/0.9878, allocations: 1.094 kB / 1.3 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003624/0.9881, allocations: 119.3 kB / 1.301 GB, free: 5.699 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.9883, allocations: 155.5 kB / 1.301 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007234/0.9956, allocations: 4.084 MB / 1.305 GB, free: 4.305 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02486/1.02, allocations: 20.14 MB / 1.324 GB, free: 4.457 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/1.024, allocations: 1.906 MB / 1.326 GB, free: 3.074 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/1.025, allocations: 0.7679 MB / 1.327 GB, free: 2.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.025, allocations: 112.1 kB / 1.327 GB, free: 2.547 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/1.025, allocations: 46.62 kB / 1.327 GB, free: 2.496 MB / 1.029 GB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/1.025, allocations: 5.062 kB / 1.327 GB, free: 2.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=92): time 0.01918/1.044, allocations: 5.276 MB / 1.332 GB, free: 15.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.045, allocations: 142.8 kB / 1.332 GB, free: 15.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.046, allocations: 0.9814 MB / 1.333 GB, free: 14.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.58e-05/1.046, allocations: 40.36 kB / 1.333 GB, free: 14.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/1.047, allocations: 1.225 MB / 1.335 GB, free: 13.64 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/1.047, allocations: 351.5 kB / 1.335 GB, free: 13.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006047/1.048, allocations: 358.9 kB / 1.335 GB, free: 13.14 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.048, allocations: 335.3 kB / 1.336 GB, free: 12.81 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/1.049, allocations: 0.8743 MB / 1.336 GB, free: 12.35 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/1.051, allocations: 1.509 MB / 1.338 GB, free: 11.04 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003318/1.054, allocations: 2.453 MB / 1.34 GB, free: 9.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.055, allocations: 6.188 kB / 1.34 GB, free: 9.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004125/1.059, allocations: 2.51 MB / 1.343 GB, free: 7.879 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.059, allocations: 13.59 kB / 1.343 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/1.059, allocations: 21.88 kB / 1.343 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/1.059, allocations: 31.12 kB / 1.343 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/1.061, allocations: 0.5158 MB / 1.343 GB, free: 7.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.034e-05/1.061, allocations: 46.45 kB / 1.343 GB, free: 7.719 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.063, allocations: 157.6 kB / 1.344 GB, free: 7.637 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.063, allocations: 89.52 kB / 1.344 GB, free: 7.617 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003089/1.066, allocations: 1.896 MB / 1.345 GB, free: 6.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001875/1.068, allocations: 1.505 MB / 1.347 GB, free: 5.219 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003186/1.071, allocations: 2.433 MB / 1.349 GB, free: 3.371 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-05/1.071, allocations: 5.719 kB / 1.349 GB, free: 3.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.004035/1.075, allocations: 2.488 MB / 1.352 GB, free: 2.082 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.075, allocations: 14.09 kB / 1.352 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/1.075, allocations: 22.31 kB / 1.352 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.401e-05/1.075, allocations: 30.16 kB / 1.352 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.077, allocations: 0.5162 MB / 1.352 GB, free: 1.938 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.436e-05/1.078, allocations: 46.27 kB / 1.352 GB, free: 1.922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.079, allocations: 145.8 kB / 1.352 GB, free: 1.848 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/1.079, allocations: 84.8 kB / 1.353 GB, free: 1.832 MB / 1.045 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.0004865/1.079, allocations: 292.2 kB / 1.353 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.08, allocations: 107.5 kB / 1.353 GB, free: 1.504 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.083, allocations: 1.829 MB / 1.355 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.083, allocations: 9.969 kB / 1.355 GB, free: 352 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.083, allocations: 4 kB / 1.355 GB, free: 348 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.083, allocations: 6.047 kB / 1.355 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.094, allocations: 9.066 MB / 1.364 GB, free: 7.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.094, allocations: 12 kB / 1.364 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/1.095, allocations: 247.6 kB / 1.364 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-05/1.096, allocations: 19.98 kB / 1.364 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/1.096, allocations: 28 kB / 1.364 GB, free: 7.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-05/1.096, allocations: 23.88 kB / 1.364 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/1.096, allocations: 15.94 kB / 1.364 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.098, allocations: 1.776 MB / 1.366 GB, free: 5.246 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005014/1.098, allocations: 288.4 kB / 1.366 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/1.099, allocations: 31.98 kB / 1.366 GB, free: 4.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/1.099, allocations: 79.84 kB / 1.366 GB, free: 4.836 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.099, allocations: 87.67 kB / 1.366 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.671e-05/1.1, allocations: 36 kB / 1.366 GB, free: 4.715 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001053/1.101, allocations: 0.7254 MB / 1.367 GB, free: 3.988 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.91e-07/1.101, allocations: 8 kB / 1.367 GB, free: 3.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003053/1.104, allocations: 0.8046 MB / 1.368 GB, free: 3.176 MB / 1.061 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.00268/1.106, allocations: 2.374 MB / 1.37 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00473/1.111, allocations: 3.006 MB / 1.373 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.111, allocations: 3.938 kB / 1.373 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008654/1.112, allocations: 0.5803 MB / 1.373 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/1.113, allocations: 184.6 kB / 1.374 GB, free: 12.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.136, allocations: 14.87 MB / 1.388 GB, free: 13.04 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/1.138, allocations: 2.105 MB / 1.39 GB, free: 10.89 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002415/1.141, allocations: 1.019 MB / 1.391 GB, free: 9.871 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.142, allocations: 0.7531 MB / 1.392 GB, free: 9.117 MB / 1.092 GB Notification: Performance of SimCode: time 5.51e-07/1.142, allocations: 4 kB / 1.392 GB, free: 9.113 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05988/1.202, allocations: 29.85 MB / 1.421 GB, free: 11.49 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.171/10.37, allocations: 7 kB / 1.421 GB, free: 11.49 MB / 1.123 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 400 --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