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.001352/0.001352, 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.001525/0.001525, allocations: 213.7 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.777 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.159/3.159, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002055/0.002055, allocations: 66.45 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.00795/0.3275, allocations: 5.325 MB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.3304, allocations: 1.695 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.3305, allocations: 19.94 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.332, allocations: 0.5251 MB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.3325, allocations: 247 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.3329, allocations: 235.5 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001846/0.3348, allocations: 1.672 MB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.3365, allocations: 1.252 MB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009645/0.3375, allocations: 0.7911 MB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.3387, allocations: 0.9349 MB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.339, allocations: 188 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.3395, allocations: 315.7 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000815/0.3404, allocations: 0.7601 MB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006499/0.341, allocations: 0.5684 MB / 1.339 GB, free: 3.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.3436, allocations: 2.672 MB / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3436, allocations: 0 / 1.342 GB, free: 1.047 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3436, allocations: 3.938 kB / 1.342 GB, free: 1.043 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.969e-05/0.3436, allocations: 4 kB / 1.342 GB, free: 1.039 MB / 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.002434/0.346, allocations: 1.319 MB / 1.343 GB, free: 15.69 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3461, allocations: 8.031 kB / 1.343 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/0.3464, allocations: 206.3 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.3478, allocations: 311.9 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.3494, allocations: 0.6884 MB / 1.344 GB, free: 14.45 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/0.3495, allocations: 90.88 kB / 1.344 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.3497, allocations: 120.4 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/0.3531, allocations: 2.136 MB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.3531, allocations: 0 / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.3533, allocations: 55.98 kB / 1.347 GB, free: 12.01 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-05/0.3534, allocations: 58.06 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/0.3563, allocations: 1.868 MB / 1.349 GB, free: 10.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008783/0.3651, allocations: 5.723 MB / 1.354 GB, free: 4.078 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.3653, allocations: 126.4 kB / 1.354 GB, free: 3.918 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3654, allocations: 75.52 kB / 1.354 GB, free: 3.832 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.3655, allocations: 11.98 kB / 1.354 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3655, allocations: 46.44 kB / 1.354 GB, free: 3.766 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.3655, allocations: 0 / 1.354 GB, free: 3.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0005621/0.3661, allocations: 273.3 kB / 1.355 GB, free: 3.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.028e-05/0.3662, allocations: 136.8 kB / 1.355 GB, free: 3.328 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3674, allocations: 0.9665 MB / 1.356 GB, free: 2.352 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3674, allocations: 29.7 kB / 1.356 GB, free: 2.316 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.368, allocations: 0.7971 MB / 1.357 GB, free: 1.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.3681, allocations: 51.72 kB / 1.357 GB, free: 1.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.3684, allocations: 270.7 kB / 1.357 GB, free: 1.188 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3686, allocations: 370.8 kB / 1.357 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.3692, allocations: 422.4 kB / 1.358 GB, free: 412 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.3706, allocations: 1.173 MB / 1.359 GB, free: 14.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.3726, allocations: 1.594 MB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/0.3727, allocations: 8 kB / 1.36 GB, free: 12.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002567/0.3752, allocations: 1.547 MB / 1.362 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.3753, allocations: 16 kB / 1.362 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.3753, allocations: 28 kB / 1.362 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.263e-05/0.3753, allocations: 32 kB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.3762, allocations: 287.4 kB / 1.362 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.925e-05/0.3762, allocations: 55.73 kB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.3771, allocations: 198.8 kB / 1.362 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.3772, allocations: 68 kB / 1.362 GB, free: 10.67 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.0009053/0.3781, allocations: 0.6336 MB / 1.363 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.3783, allocations: 59.62 kB / 1.363 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.3786, allocations: 137.7 kB / 1.363 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3786, allocations: 3.984 kB / 1.363 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.3786, allocations: 7.938 kB / 1.363 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3786, allocations: 0 / 1.363 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3797, allocations: 0.715 MB / 1.364 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3797, allocations: 8 kB / 1.364 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.3797, allocations: 7.938 kB / 1.364 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3797, allocations: 0 / 1.364 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.3797, allocations: 0 / 1.364 GB, free: 9.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3797, allocations: 4 kB / 1.364 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3797, allocations: 3.938 kB / 1.364 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.38, allocations: 365.7 kB / 1.364 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3802, allocations: 51.7 kB / 1.364 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.3803, allocations: 11.95 kB / 1.364 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.3805, allocations: 11.97 kB / 1.364 GB, free: 8.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.3805, allocations: 19.88 kB / 1.364 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.3805, allocations: 0 / 1.364 GB, free: 8.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008443/0.3814, allocations: 0.6395 MB / 1.365 GB, free: 7.906 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3814, allocations: 3.938 kB / 1.365 GB, free: 7.902 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00106/0.3824, allocations: 283.2 kB / 1.365 GB, free: 7.625 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.0006552/0.3831, allocations: 0.9138 MB / 1.366 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.3842, allocations: 0.6923 MB / 1.367 GB, free: 5.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3842, allocations: 1 kB / 1.367 GB, free: 5.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.143e-05/0.3842, allocations: 20.11 kB / 1.367 GB, free: 5.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.3847, allocations: 46.28 kB / 1.367 GB, free: 5.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.3952, allocations: 8.095 MB / 1.375 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009093/0.3961, allocations: 0.6727 MB / 1.376 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000797/0.3969, allocations: 361.2 kB / 1.376 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/0.3973, allocations: 291.3 kB / 1.376 GB, free: 11.65 MB / 1.076 GB Notification: Performance of SimCode: time 1.032e-06/0.3973, allocations: 3.938 kB / 1.376 GB, free: 11.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04453/0.4418, allocations: 13.94 MB / 1.39 GB, free: 13.91 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.81, allocations: 1.719 kB / 1.39 GB, free: 13.91 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.422093800269067]