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.001624/0.001624, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001836/0.001836, allocations: 215.8 kB / 23.03 MB, free: 4.922 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.122/3.122, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Interfaces_Examples_WyeToDelta",fmuType="cs",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.001974/0.001974, allocations: 61.3 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3477, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008286/0.3559, allocations: 5.33 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.3595, allocations: 1.68 MB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000496/0.36, allocations: 19.94 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.3618, allocations: 0.529 MB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007083/0.3625, allocations: 247 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.3632, allocations: 231.5 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.3652, allocations: 1.68 MB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.3673, allocations: 1.264 MB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.3685, allocations: 0.7911 MB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.3701, allocations: 0.9974 MB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.3705, allocations: 188 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007119/0.3712, allocations: 307.8 kB / 1.34 GB, free: 4.176 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009402/0.3721, allocations: 0.7523 MB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0009784/0.3731, allocations: 0.5762 MB / 1.341 GB, free: 2.844 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.3758, allocations: 2.676 MB / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3758, allocations: 0 / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3758, allocations: 0 / 1.343 GB, free: 164 kB / 1.029 GB Notification: Performance of Transformations before backend: time 6.569e-05/0.3759, allocations: 4 kB / 1.343 GB, free: 160 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.00311/0.379, allocations: 1.321 MB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.379, allocations: 8.031 kB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.984e-05/0.3791, allocations: 34.69 kB / 1.345 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003953/0.3795, allocations: 206.3 kB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.3811, allocations: 303.9 kB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.3824, allocations: 0.6806 MB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/0.3825, allocations: 94.88 kB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.3827, allocations: 128.4 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.3864, allocations: 2.133 MB / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.3864, allocations: 0 / 1.348 GB, free: 11.15 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.3865, allocations: 51.98 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.352e-05/0.3866, allocations: 58.06 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.3896, allocations: 1.87 MB / 1.35 GB, free: 9.16 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008465/0.3981, allocations: 5.731 MB / 1.356 GB, free: 3.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3983, allocations: 122.4 kB / 1.356 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3984, allocations: 91.5 kB / 1.356 GB, free: 2.898 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/0.3984, allocations: 12 kB / 1.356 GB, free: 2.887 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3985, allocations: 38.48 kB / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.532e-06/0.3985, allocations: 0 / 1.356 GB, free: 2.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0005579/0.399, allocations: 269.2 kB / 1.356 GB, free: 2.57 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.3991, allocations: 140.4 kB / 1.356 GB, free: 2.402 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.4003, allocations: 0.9085 MB / 1.357 GB, free: 1.484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.4003, allocations: 30.08 kB / 1.357 GB, free: 1.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006147/0.4009, allocations: 0.7972 MB / 1.358 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.401, allocations: 55.67 kB / 1.358 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003914/0.4014, allocations: 270.7 kB / 1.358 GB, free: 324 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.4016, allocations: 374.7 kB / 1.359 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.4022, allocations: 430.3 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.4035, allocations: 1.165 MB / 1.36 GB, free: 13.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.4053, allocations: 1.59 MB / 1.362 GB, free: 12.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/0.4053, allocations: 12 kB / 1.362 GB, free: 12.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002386/0.4077, allocations: 1.535 MB / 1.363 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.4077, allocations: 17.75 kB / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-05/0.4078, allocations: 35.98 kB / 1.363 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.195e-05/0.4078, allocations: 36 kB / 1.363 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/0.4087, allocations: 279.4 kB / 1.364 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-05/0.4087, allocations: 55.78 kB / 1.364 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008516/0.4096, allocations: 194.8 kB / 1.364 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-05/0.4097, allocations: 68 kB / 1.364 GB, free: 9.805 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.0007827/0.4104, allocations: 0.6375 MB / 1.365 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4106, allocations: 67.62 kB / 1.365 GB, free: 9.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002702/0.4109, allocations: 125.7 kB / 1.365 GB, free: 8.949 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4109, allocations: 4 kB / 1.365 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4109, allocations: 0 / 1.365 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4109, allocations: 3.938 kB / 1.365 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.412, allocations: 0.7228 MB / 1.366 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.412, allocations: 0 / 1.366 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.4121, allocations: 12.19 kB / 1.366 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4121, allocations: 3.984 kB / 1.366 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4121, allocations: 8 kB / 1.366 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4121, allocations: 0 / 1.366 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4121, allocations: 0 / 1.366 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.4124, allocations: 369.7 kB / 1.366 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4125, allocations: 47.72 kB / 1.366 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/0.4126, allocations: 11.94 kB / 1.366 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.4129, allocations: 7.984 kB / 1.366 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.4129, allocations: 11.94 kB / 1.366 GB, free: 7.695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4129, allocations: 0 / 1.366 GB, free: 7.695 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008032/0.4137, allocations: 0.6473 MB / 1.367 GB, free: 7.047 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4137, allocations: 0 / 1.367 GB, free: 7.047 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001059/0.4147, allocations: 279.3 kB / 1.367 GB, free: 6.773 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.0006367/0.4154, allocations: 0.9215 MB / 1.368 GB, free: 5.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.4164, allocations: 0.693 MB / 1.368 GB, free: 5.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4164, allocations: 0 / 1.368 GB, free: 5.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.4165, allocations: 15.98 kB / 1.368 GB, free: 5.117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.417, allocations: 40.06 kB / 1.369 GB, free: 5.078 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.4274, allocations: 8.103 MB / 1.376 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.4284, allocations: 0.6805 MB / 1.377 GB, free: 11.42 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008835/0.4293, allocations: 361.2 kB / 1.377 GB, free: 11.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.4298, allocations: 287.3 kB / 1.378 GB, free: 10.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.283e-06/0.4298, allocations: 0 / 1.378 GB, free: 10.79 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0417/0.4715, allocations: 14.27 MB / 1.392 GB, free: 12.75 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.44, allocations: 6.094 kB / 1.392 GB, free: 12.74 MB / 1.092 GB " [Timeout remaining time 287] (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: 19.25918997800909]