Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001957/0.001957, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002695/0.002695, allocations: 213.3 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.193/3.193, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 68.12 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008101/0.3404, allocations: 5.336 MB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.3433, allocations: 1.691 MB / 1.37 GB, free: 7.051 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3435, allocations: 16 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.345, allocations: 0.529 MB / 1.371 GB, free: 6.504 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005208/0.3456, allocations: 247 kB / 1.371 GB, free: 6.262 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.3461, allocations: 231.5 kB / 1.371 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001867/0.3479, allocations: 1.669 MB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.3498, allocations: 1.26 MB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.3508, allocations: 0.7872 MB / 1.375 GB, free: 2.277 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3521, allocations: 0.9388 MB / 1.376 GB, free: 1.336 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.3524, allocations: 188 kB / 1.376 GB, free: 1.152 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006251/0.353, allocations: 307.8 kB / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008262/0.3539, allocations: 0.764 MB / 1.377 GB, free: 88 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000731/0.3546, allocations: 0.5724 MB / 1.378 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.3575, allocations: 2.676 MB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.3575, allocations: 3.984 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3575, allocations: 0 / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.456e-05/0.3575, allocations: 4 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.002472/0.36, allocations: 1.317 MB / 1.381 GB, free: 11.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.36, allocations: 8.031 kB / 1.381 GB, free: 11.46 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/0.3603, allocations: 206.3 kB / 1.382 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.3619, allocations: 307.9 kB / 1.382 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.3634, allocations: 0.6929 MB / 1.383 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.97e-05/0.3635, allocations: 90.88 kB / 1.383 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.3637, allocations: 124.4 kB / 1.383 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/0.3672, allocations: 2.129 MB / 1.385 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.3673, allocations: 0 / 1.385 GB, free: 7.848 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3674, allocations: 55.98 kB / 1.385 GB, free: 7.793 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.902e-05/0.3675, allocations: 58.06 kB / 1.385 GB, free: 7.734 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.3707, allocations: 1.866 MB / 1.387 GB, free: 5.859 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009017/0.3797, allocations: 5.723 MB / 1.392 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3799, allocations: 126.4 kB / 1.393 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.38, allocations: 79.45 kB / 1.393 GB, free: 15.61 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.3801, allocations: 11.98 kB / 1.393 GB, free: 15.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3801, allocations: 38.56 kB / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.3801, allocations: 0 / 1.393 GB, free: 15.55 MB / 1.092 GB Notification: Performance of matching and sorting (n=9): time 0.0005524/0.3807, allocations: 281 kB / 1.393 GB, free: 15.27 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.798e-05/0.3808, allocations: 132.9 kB / 1.393 GB, free: 15.11 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.382, allocations: 0.9666 MB / 1.394 GB, free: 14.14 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.382, allocations: 25.7 kB / 1.394 GB, free: 14.11 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/0.3827, allocations: 0.7932 MB / 1.395 GB, free: 13.3 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.3827, allocations: 55.7 kB / 1.395 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004227/0.3832, allocations: 270.7 kB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002771/0.3834, allocations: 370.8 kB / 1.395 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006249/0.3841, allocations: 430.2 kB / 1.396 GB, free: 12.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.3854, allocations: 1.157 MB / 1.397 GB, free: 10.66 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.3876, allocations: 1.603 MB / 1.399 GB, free: 8.688 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/0.3876, allocations: 8 kB / 1.399 GB, free: 8.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002552/0.3902, allocations: 1.551 MB / 1.4 GB, free: 7.125 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.3902, allocations: 16 kB / 1.4 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/0.3902, allocations: 28 kB / 1.4 GB, free: 7.082 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.09e-05/0.3903, allocations: 32.25 kB / 1.4 GB, free: 7.051 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.3912, allocations: 283.5 kB / 1.4 GB, free: 6.773 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.569e-05/0.3913, allocations: 55.8 kB / 1.401 GB, free: 6.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008639/0.3921, allocations: 198.8 kB / 1.401 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3922, allocations: 68 kB / 1.401 GB, free: 6.457 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * 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.0009391/0.3932, allocations: 0.6413 MB / 1.401 GB, free: 5.805 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3933, allocations: 55.67 kB / 1.401 GB, free: 5.75 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.3936, allocations: 133.7 kB / 1.402 GB, free: 5.602 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3936, allocations: 0 / 1.402 GB, free: 5.602 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3936, allocations: 7.938 kB / 1.402 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3936, allocations: 0 / 1.402 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3948, allocations: 0.7227 MB / 1.402 GB, free: 4.828 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3948, allocations: 8 kB / 1.402 GB, free: 4.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.336e-05/0.3949, allocations: 4 kB / 1.402 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3949, allocations: 0 / 1.402 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3949, allocations: 0 / 1.402 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3949, allocations: 4 kB / 1.402 GB, free: 4.812 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3949, allocations: 0 / 1.402 GB, free: 4.812 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.3953, allocations: 369.6 kB / 1.403 GB, free: 4.434 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.3954, allocations: 55.66 kB / 1.403 GB, free: 4.379 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.3955, allocations: 7.938 kB / 1.403 GB, free: 4.371 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3957, allocations: 11.97 kB / 1.403 GB, free: 4.359 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.3958, allocations: 12 kB / 1.403 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.3958, allocations: 0 / 1.403 GB, free: 4.348 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009707/0.3967, allocations: 0.6395 MB / 1.403 GB, free: 3.707 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3967, allocations: 4 kB / 1.403 GB, free: 3.703 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001075/0.3978, allocations: 283.2 kB / 1.404 GB, free: 3.426 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0007107/0.3985, allocations: 0.9138 MB / 1.405 GB, free: 2.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.3997, allocations: 0.6924 MB / 1.405 GB, free: 1.793 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3997, allocations: 0.9375 kB / 1.405 GB, free: 1.793 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.3998, allocations: 19.92 kB / 1.405 GB, free: 1.773 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.4003, allocations: 43.19 kB / 1.405 GB, free: 1.73 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.4116, allocations: 8.114 MB / 1.413 GB, free: 8.777 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.4127, allocations: 0.6688 MB / 1.414 GB, free: 8.082 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008132/0.4135, allocations: 365.2 kB / 1.414 GB, free: 7.723 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.4139, allocations: 291.3 kB / 1.414 GB, free: 7.438 MB / 1.107 GB Notification: Performance of SimCode: time 5.41e-07/0.4139, allocations: 0 / 1.414 GB, free: 7.438 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05044/0.4644, allocations: 13.94 MB / 1.428 GB, free: 9.703 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 11.91 kB / 1.428 GB, free: 9.691 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.91873490298167]