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.001695/0.001695, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.002024/0.002024, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.447/1.447, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.82/2.82, allocations: 0.49 GB / 0.7923 GB, free: 1.492 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.001953/0.001953, allocations: 71.89 kB / 1.15 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9785/0.9805, allocations: 176.1 MB / 1.321 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008009/0.9885, allocations: 5.327 MB / 1.327 GB, free: 3.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003096/0.9916, allocations: 1.753 MB / 1.328 GB, free: 2.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.9918, allocations: 14.16 kB / 1.328 GB, free: 2.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.9932, allocations: 0.5269 MB / 1.329 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005906/0.9938, allocations: 247.4 kB / 1.329 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005844/0.9944, allocations: 238.9 kB / 1.329 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.9961, allocations: 1.668 MB / 1.331 GB, free: 456 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.9982, allocations: 1.9 MB / 1.333 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.9996, allocations: 0.7922 MB / 1.334 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/1.001, allocations: 0.9803 MB / 1.335 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/1.001, allocations: 188.8 kB / 1.335 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006012/1.002, allocations: 328.2 kB / 1.335 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008319/1.003, allocations: 0.7511 MB / 1.336 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000868/1.003, allocations: 0.7093 MB / 1.337 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/1.006, allocations: 2.661 MB / 1.339 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.006, allocations: 0 / 1.339 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/1.006, allocations: 5.375 kB / 1.339 GB, free: 11.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.036e-05/1.007, allocations: 0 / 1.339 GB, free: 11.51 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.003096/1.01, allocations: 1.4 MB / 1.34 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/1.01, allocations: 14.3 kB / 1.34 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.432e-05/1.01, allocations: 32.72 kB / 1.341 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002911/1.01, allocations: 205.4 kB / 1.341 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.012, allocations: 304.9 kB / 1.341 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/1.013, allocations: 0.7207 MB / 1.342 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-05/1.013, allocations: 97.59 kB / 1.342 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/1.013, allocations: 124.3 kB / 1.342 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/1.017, allocations: 2.131 MB / 1.344 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/1.017, allocations: 5.141 kB / 1.344 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.017, allocations: 53.64 kB / 1.344 GB, free: 8.281 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/1.017, allocations: 54.59 kB / 1.344 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/1.02, allocations: 1.869 MB / 1.346 GB, free: 7.312 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/1.03, allocations: 7.69 MB / 1.353 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/1.031, allocations: 127.1 kB / 1.354 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/1.031, allocations: 75.33 kB / 1.354 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/1.031, allocations: 91.91 kB / 1.354 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/1.031, allocations: 40.19 kB / 1.354 GB, free: 460 kB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/1.031, allocations: 0 / 1.354 GB, free: 460 kB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0006719/1.031, allocations: 270 kB / 1.354 GB, free: 304 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/1.032, allocations: 133.8 kB / 1.354 GB, free: 140 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.033, allocations: 0.9109 MB / 1.355 GB, free: 15.62 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/1.033, allocations: 27.42 kB / 1.355 GB, free: 15.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006509/1.034, allocations: 0.7963 MB / 1.356 GB, free: 14.87 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/1.034, allocations: 60 kB / 1.356 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/1.034, allocations: 267.9 kB / 1.356 GB, free: 14.66 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.034, allocations: 374.5 kB / 1.357 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/1.035, allocations: 427.7 kB / 1.357 GB, free: 14.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/1.036, allocations: 1.166 MB / 1.358 GB, free: 12.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/1.038, allocations: 1.595 MB / 1.36 GB, free: 11.31 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/1.038, allocations: 8.219 kB / 1.36 GB, free: 11.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002492/1.041, allocations: 1.546 MB / 1.361 GB, free: 10.51 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/1.041, allocations: 16 kB / 1.361 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.813e-05/1.041, allocations: 30.34 kB / 1.361 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.484e-05/1.041, allocations: 35.62 kB / 1.361 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008496/1.042, allocations: 280.9 kB / 1.361 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-05/1.042, allocations: 50.83 kB / 1.362 GB, free: 10.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/1.043, allocations: 199.5 kB / 1.362 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/1.043, allocations: 79.48 kB / 1.362 GB, free: 10.29 MB / 1.045 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.0009843/1.044, allocations: 0.6309 MB / 1.362 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.044, allocations: 57.61 kB / 1.362 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/1.044, allocations: 144.5 kB / 1.363 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/1.044, allocations: 9.203 kB / 1.363 GB, free: 9.699 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.044, allocations: 5.031 kB / 1.363 GB, free: 9.695 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.044, allocations: 5.438 kB / 1.363 GB, free: 9.691 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/1.046, allocations: 0.7669 MB / 1.363 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.046, allocations: 1.125 kB / 1.363 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/1.046, allocations: 5.344 kB / 1.363 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.046, allocations: 1.188 kB / 1.363 GB, free: 9.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.046, allocations: 3.984 kB / 1.363 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.046, allocations: 1.188 kB / 1.363 GB, free: 9.176 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.046, allocations: 5.219 kB / 1.363 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/1.046, allocations: 373.4 kB / 1.364 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/1.046, allocations: 127.6 kB / 1.364 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/1.046, allocations: 9.328 kB / 1.364 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/1.046, allocations: 11.14 kB / 1.364 GB, free: 8.699 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/1.047, allocations: 5.156 kB / 1.364 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.047, allocations: 2 kB / 1.364 GB, free: 8.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008372/1.047, allocations: 0.6417 MB / 1.365 GB, free: 8.234 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/1.047, allocations: 0 / 1.365 GB, free: 8.234 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001245/1.049, allocations: 283.2 kB / 1.365 GB, free: 7.957 MB / 1.045 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.0008287/1.049, allocations: 0.912 MB / 1.366 GB, free: 7.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.051, allocations: 0.6918 MB / 1.366 GB, free: 6.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.051, allocations: 0 / 1.366 GB, free: 6.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/1.051, allocations: 17.61 kB / 1.366 GB, free: 6.316 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/1.051, allocations: 38.98 kB / 1.366 GB, free: 6.281 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.063, allocations: 8.106 MB / 1.374 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.064, allocations: 1.284 MB / 1.376 GB, free: 12.02 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007212/1.065, allocations: 365.2 kB / 1.376 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/1.065, allocations: 287.3 kB / 1.376 GB, free: 11.38 MB / 1.061 GB Notification: Performance of SimCode: time 9.41e-07/1.065, allocations: 0 / 1.376 GB, free: 11.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/1.098, allocations: 13.91 MB / 1.39 GB, free: 13.65 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.876/9.974, allocations: 11.5 kB / 1.39 GB, free: 13.64 MB / 1.076 GB " [Timeout remaining time 290] (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: 16.290539395005908]