Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001687/0.001687, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002339/0.002339, allocations: 225.2 kB / 22.25 MB, free: 5.254 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_12_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.002002/0.002002, allocations: 70.7 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 176.1 MB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.007878/0.3438, allocations: 5.327 MB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.3467, allocations: 1.707 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3468, allocations: 12 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.3483, allocations: 0.5213 MB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005142/0.3488, allocations: 250.9 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.3493, allocations: 231.5 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.3511, allocations: 1.672 MB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.3528, allocations: 1.276 MB / 1.337 GB, free: 6.496 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.3539, allocations: 0.7911 MB / 1.337 GB, free: 5.703 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.3552, allocations: 0.9857 MB / 1.338 GB, free: 4.715 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.3555, allocations: 192 kB / 1.338 GB, free: 4.527 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.3561, allocations: 303.7 kB / 1.339 GB, free: 4.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008261/0.3569, allocations: 0.7601 MB / 1.34 GB, free: 3.469 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007088/0.3576, allocations: 0.58 MB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.3601, allocations: 2.664 MB / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3601, allocations: 0 / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3601, allocations: 0 / 1.343 GB, free: 220 kB / 1.029 GB Notification: Performance of Transformations before backend: time 3.137e-05/0.3601, allocations: 4 kB / 1.343 GB, free: 216 kB / 1.029 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.002459/0.3626, allocations: 1.325 MB / 1.344 GB, free: 14.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3626, allocations: 12.03 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/0.3629, allocations: 202.3 kB / 1.344 GB, free: 14.63 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.3644, allocations: 307.9 kB / 1.344 GB, free: 14.33 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.366, allocations: 0.6806 MB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.395e-05/0.3661, allocations: 94.88 kB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.3663, allocations: 124.4 kB / 1.345 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003475/0.3698, allocations: 2.133 MB / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.3698, allocations: 0 / 1.347 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.37, allocations: 59.97 kB / 1.348 GB, free: 11.17 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/0.37, allocations: 54.06 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/0.373, allocations: 1.874 MB / 1.349 GB, free: 9.238 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008565/0.3816, allocations: 5.731 MB / 1.355 GB, free: 3.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.3817, allocations: 118.4 kB / 1.355 GB, free: 3.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3818, allocations: 75.52 kB / 1.355 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-05/0.3819, allocations: 15.98 kB / 1.355 GB, free: 2.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.3819, allocations: 46.5 kB / 1.355 GB, free: 2.926 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.3819, allocations: 0 / 1.355 GB, free: 2.926 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0005227/0.3825, allocations: 273.1 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.799e-05/0.3825, allocations: 132.5 kB / 1.356 GB, free: 2.492 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.3837, allocations: 0.9549 MB / 1.357 GB, free: 1.527 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3837, allocations: 29.7 kB / 1.357 GB, free: 1.492 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000585/0.3843, allocations: 0.7971 MB / 1.357 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3844, allocations: 51.73 kB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.3847, allocations: 275 kB / 1.358 GB, free: 368 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3849, allocations: 370.8 kB / 1.358 GB, free: 15.99 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.3855, allocations: 426.3 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.3867, allocations: 1.169 MB / 1.36 GB, free: 14.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.3886, allocations: 1.598 MB / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.3886, allocations: 8 kB / 1.361 GB, free: 12.06 MB / 1.061 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002471/0.3911, allocations: 1.542 MB / 1.363 GB, free: 10.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.3911, allocations: 19.94 kB / 1.363 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/0.3912, allocations: 24 kB / 1.363 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-05/0.3912, allocations: 36.75 kB / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/0.3922, allocations: 283.5 kB / 1.363 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.941e-05/0.3922, allocations: 51.8 kB / 1.363 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.393, allocations: 198.7 kB / 1.363 GB, free: 9.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/0.3931, allocations: 75.98 kB / 1.363 GB, free: 9.836 MB / 1.061 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.0008399/0.394, allocations: 0.6336 MB / 1.364 GB, free: 9.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.3941, allocations: 59.62 kB / 1.364 GB, free: 9.133 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.3944, allocations: 142 kB / 1.364 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.3944, allocations: 7.922 kB / 1.364 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3944, allocations: 0 / 1.364 GB, free: 8.969 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3944, allocations: 7.938 kB / 1.364 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3955, allocations: 0.715 MB / 1.365 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3955, allocations: 0 / 1.365 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.371e-05/0.3955, allocations: 4 kB / 1.365 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3955, allocations: 4 kB / 1.365 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3955, allocations: 4 kB / 1.365 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3955, allocations: 0 / 1.365 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3955, allocations: 8 kB / 1.365 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.3959, allocations: 373.6 kB / 1.365 GB, free: 7.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.396, allocations: 51.7 kB / 1.365 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/0.3961, allocations: 3.953 kB / 1.365 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3963, allocations: 15.97 kB / 1.365 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.3964, allocations: 0 / 1.365 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3964, allocations: 4 kB / 1.365 GB, free: 7.727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008319/0.3972, allocations: 0.6434 MB / 1.366 GB, free: 7.078 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3972, allocations: 0 / 1.366 GB, free: 7.078 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001037/0.3982, allocations: 275.3 kB / 1.366 GB, free: 6.809 MB / 1.061 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.0006544/0.3989, allocations: 0.9215 MB / 1.367 GB, free: 5.855 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.3999, allocations: 0.6924 MB / 1.368 GB, free: 5.168 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3999, allocations: 0 / 1.368 GB, free: 5.168 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.937e-05/0.4, allocations: 15.98 kB / 1.368 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.4005, allocations: 49.94 kB / 1.368 GB, free: 5.105 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.4106, allocations: 8.096 MB / 1.376 GB, free: 12.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008814/0.4115, allocations: 0.6805 MB / 1.376 GB, free: 11.46 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007274/0.4122, allocations: 365.2 kB / 1.377 GB, free: 11.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003736/0.4126, allocations: 291.3 kB / 1.377 GB, free: 10.81 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/0.4126, allocations: 0 / 1.377 GB, free: 10.81 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.4584, allocations: 14.57 MB / 1.391 GB, free: 12.45 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.57, allocations: 6.312 kB / 1.391 GB, free: 12.45 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.252117038005963]