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.001793/0.001793, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00241/0.00241, allocations: 217.2 kB / 22.25 MB, free: 5.078 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.973 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.195/3.195, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] 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.002015/0.002015, allocations: 75.02 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3518, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.009091/0.3609, allocations: 5.53 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003396/0.3643, allocations: 1.789 MB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003041/0.3646, allocations: 15.94 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.3663, allocations: 0.5388 MB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006239/0.3669, allocations: 251 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.3675, allocations: 231.5 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002065/0.3696, allocations: 1.68 MB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.3717, allocations: 1.26 MB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.3729, allocations: 0.791 MB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.3747, allocations: 0.9974 MB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000441/0.3751, allocations: 188 kB / 1.339 GB, free: 4.574 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007842/0.3759, allocations: 315.7 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.3769, allocations: 0.7601 MB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.3782, allocations: 0.7084 MB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.3817, allocations: 2.66 MB / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3817, allocations: 0 / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3817, allocations: 0 / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of Transformations before backend: time 8.754e-05/0.3818, allocations: 0 / 1.343 GB, free: 128 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.003657/0.3854, allocations: 1.329 MB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3855, allocations: 8.031 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/0.3857, allocations: 206.3 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.3873, allocations: 307.9 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.3888, allocations: 0.6845 MB / 1.346 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.3889, allocations: 90.88 kB / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.3891, allocations: 124.4 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003399/0.3925, allocations: 2.129 MB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.3925, allocations: 3.938 kB / 1.348 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/0.3926, allocations: 55.98 kB / 1.348 GB, free: 11.09 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-05/0.3927, allocations: 58.06 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.3958, allocations: 1.868 MB / 1.35 GB, free: 9.152 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009928/0.4057, allocations: 7.356 MB / 1.357 GB, free: 1.23 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.4059, allocations: 122.3 kB / 1.357 GB, free: 1.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.406, allocations: 79.52 kB / 1.357 GB, free: 0.9844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.191e-05/0.4061, allocations: 23.97 kB / 1.357 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4061, allocations: 30.56 kB / 1.357 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.4061, allocations: 0 / 1.357 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006081/0.4067, allocations: 277.4 kB / 1.358 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4068, allocations: 136.5 kB / 1.358 GB, free: 492 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.4081, allocations: 0.9124 MB / 1.359 GB, free: 15.56 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.4081, allocations: 29.7 kB / 1.359 GB, free: 15.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005786/0.4087, allocations: 0.7933 MB / 1.359 GB, free: 14.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/0.4087, allocations: 55.67 kB / 1.359 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.4091, allocations: 270.7 kB / 1.36 GB, free: 14.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.4093, allocations: 366.8 kB / 1.36 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.4099, allocations: 430.3 kB / 1.36 GB, free: 13.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.4112, allocations: 1.161 MB / 1.362 GB, free: 12.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.413, allocations: 1.611 MB / 1.363 GB, free: 10.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.4131, allocations: 8 kB / 1.363 GB, free: 10.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002397/0.4155, allocations: 1.531 MB / 1.365 GB, free: 8.555 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.4155, allocations: 16.22 kB / 1.365 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.848e-05/0.4155, allocations: 32 kB / 1.365 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/0.4156, allocations: 36 kB / 1.365 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.4164, allocations: 283.4 kB / 1.365 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-05/0.4165, allocations: 51.84 kB / 1.365 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007782/0.4172, allocations: 194.8 kB / 1.365 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.4173, allocations: 75.94 kB / 1.365 GB, free: 7.879 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.0009052/0.4182, allocations: 0.6336 MB / 1.366 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.4184, allocations: 67.61 kB / 1.366 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.4187, allocations: 130 kB / 1.366 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4187, allocations: 4 kB / 1.366 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4187, allocations: 3.938 kB / 1.366 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4187, allocations: 0 / 1.366 GB, free: 7.016 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.4199, allocations: 0.754 MB / 1.367 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4199, allocations: 3.938 kB / 1.367 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.4199, allocations: 4 kB / 1.367 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4199, allocations: 0 / 1.367 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.4199, allocations: 4 kB / 1.367 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4199, allocations: 3.938 kB / 1.367 GB, free: 6.203 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4199, allocations: 3.984 kB / 1.367 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4202, allocations: 373.7 kB / 1.367 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.4204, allocations: 55.7 kB / 1.367 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.4204, allocations: 3.953 kB / 1.367 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.4207, allocations: 11.98 kB / 1.367 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.4207, allocations: 7.984 kB / 1.367 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4207, allocations: 0 / 1.367 GB, free: 5.738 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008404/0.4216, allocations: 0.6395 MB / 1.368 GB, free: 5.094 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4216, allocations: 0 / 1.368 GB, free: 5.094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001162/0.4227, allocations: 283.3 kB / 1.368 GB, free: 4.816 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.0007909/0.4235, allocations: 0.9137 MB / 1.369 GB, free: 3.871 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.4246, allocations: 0.6928 MB / 1.37 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4246, allocations: 0.5 kB / 1.37 GB, free: 3.184 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.4247, allocations: 27.92 kB / 1.37 GB, free: 3.156 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.4252, allocations: 36.88 kB / 1.37 GB, free: 3.121 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.436, allocations: 8.099 MB / 1.378 GB, free: 10.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/0.4373, allocations: 1.28 MB / 1.379 GB, free: 8.867 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007171/0.438, allocations: 369.3 kB / 1.379 GB, free: 8.504 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.4384, allocations: 287.3 kB / 1.38 GB, free: 8.223 MB / 1.076 GB Notification: Performance of SimCode: time 1.172e-06/0.4384, allocations: 0 / 1.38 GB, free: 8.223 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04611/0.4845, allocations: 14.94 MB / 1.394 GB, free: 9.43 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.49, allocations: 9.812 kB / 1.394 GB, free: 9.422 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.33663800195791]