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.001776/0.001776, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002213/0.002213, allocations: 212.5 kB / 22.99 MB, free: 4.957 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.27/3.27, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y.V.1.|probe_Y.V.2.|probe_Y.V.3.|probeD.V.1.|probeD.V.2.|probeD.V.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") [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.00206/0.00206, allocations: 68.45 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3923, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.008988/0.4013, allocations: 5.327 MB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.4047, allocations: 1.695 MB / 1.334 GB, free: 9.949 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.4049, allocations: 19.88 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.4065, allocations: 0.5189 MB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.4071, allocations: 243 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006156/0.4077, allocations: 243.5 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001851/0.4096, allocations: 1.665 MB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.4113, allocations: 1.272 MB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.4125, allocations: 0.791 MB / 1.339 GB, free: 5.164 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.4139, allocations: 0.9896 MB / 1.34 GB, free: 4.172 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.4141, allocations: 188 kB / 1.34 GB, free: 3.988 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006157/0.4148, allocations: 311.7 kB / 1.34 GB, free: 3.684 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007673/0.4155, allocations: 0.7562 MB / 1.341 GB, free: 2.926 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006636/0.4162, allocations: 0.5723 MB / 1.341 GB, free: 2.352 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.4189, allocations: 2.676 MB / 1.344 GB, free: 15.67 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4189, allocations: 4 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4189, allocations: 0 / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.4189, allocations: 0 / 1.344 GB, free: 15.66 MB / 1.045 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.002681/0.4216, allocations: 1.317 MB / 1.345 GB, free: 14.31 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4216, allocations: 12.03 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/0.4232, allocations: 307.9 kB / 1.346 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.4248, allocations: 0.6823 MB / 1.346 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.4249, allocations: 94.86 kB / 1.346 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.4252, allocations: 120.4 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00374/0.4289, allocations: 2.137 MB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.008e-05/0.4289, allocations: 4 kB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.4291, allocations: 51.94 kB / 1.349 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.764e-05/0.4292, allocations: 62 kB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.4322, allocations: 1.866 MB / 1.35 GB, free: 8.91 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008925/0.4412, allocations: 5.458 MB / 1.356 GB, free: 3.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4414, allocations: 126.3 kB / 1.356 GB, free: 3.031 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4415, allocations: 83.44 kB / 1.356 GB, free: 2.938 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.091e-05/0.4416, allocations: 12 kB / 1.356 GB, free: 2.926 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.4416, allocations: 42.55 kB / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 3.317e-06/0.4416, allocations: 0 / 1.356 GB, free: 2.875 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0005985/0.4422, allocations: 269.1 kB / 1.356 GB, free: 2.605 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.4423, allocations: 132.5 kB / 1.356 GB, free: 2.445 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.4435, allocations: 0.9627 MB / 1.357 GB, free: 1.473 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4435, allocations: 25.7 kB / 1.357 GB, free: 1.441 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.4441, allocations: 0.7971 MB / 1.358 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.4442, allocations: 63.97 kB / 1.358 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.4445, allocations: 270.7 kB / 1.358 GB, free: 308 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.4448, allocations: 366.8 kB / 1.359 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.4454, allocations: 434.3 kB / 1.359 GB, free: 15.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.4466, allocations: 1.161 MB / 1.36 GB, free: 13.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/0.4485, allocations: 1.594 MB / 1.362 GB, free: 12.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4485, allocations: 4 kB / 1.362 GB, free: 12.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002418/0.4509, allocations: 1.546 MB / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.4509, allocations: 16 kB / 1.363 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/0.4509, allocations: 32.81 kB / 1.363 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.019e-05/0.451, allocations: 36 kB / 1.363 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.4519, allocations: 283.5 kB / 1.364 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.021e-05/0.4519, allocations: 55.78 kB / 1.364 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008517/0.4528, allocations: 190.8 kB / 1.364 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.716e-05/0.4529, allocations: 79.98 kB / 1.364 GB, free: 9.781 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.0008567/0.4537, allocations: 0.6341 MB / 1.365 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.4539, allocations: 67.56 kB / 1.365 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.4542, allocations: 129.7 kB / 1.365 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4542, allocations: 4 kB / 1.365 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4542, allocations: 0 / 1.365 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4542, allocations: 0 / 1.365 GB, free: 8.922 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.4549, allocations: 457.2 kB / 1.365 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4549, allocations: 7.984 kB / 1.365 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.455, allocations: 7.938 kB / 1.365 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.455, allocations: 4 kB / 1.365 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.455, allocations: 0 / 1.365 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.455, allocations: 4 kB / 1.365 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.455, allocations: 0 / 1.365 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.4553, allocations: 377.6 kB / 1.366 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.4554, allocations: 55.64 kB / 1.366 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.4555, allocations: 3.953 kB / 1.366 GB, free: 7.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.4558, allocations: 11.98 kB / 1.366 GB, free: 7.965 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.4558, allocations: 7.984 kB / 1.366 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.4558, allocations: 4 kB / 1.366 GB, free: 7.953 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008274/0.4566, allocations: 0.6395 MB / 1.366 GB, free: 7.309 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4566, allocations: 0 / 1.366 GB, free: 7.309 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001151/0.4578, allocations: 283.3 kB / 1.367 GB, free: 7.031 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.0001689/0.458, allocations: 103.1 kB / 1.367 GB, free: 6.918 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.459, allocations: 0.6922 MB / 1.367 GB, free: 6.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.459, allocations: 0 / 1.367 GB, free: 6.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.911e-05/0.4591, allocations: 12 kB / 1.367 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.4596, allocations: 53.67 kB / 1.368 GB, free: 6.168 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.4623, allocations: 1.663 MB / 1.369 GB, free: 4.469 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/0.4632, allocations: 0.6842 MB / 1.37 GB, free: 3.758 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007463/0.464, allocations: 361.2 kB / 1.37 GB, free: 3.402 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.4641, allocations: 51.47 kB / 1.37 GB, free: 3.352 MB / 1.061 GB Notification: Performance of SimCode: time 1.162e-06/0.4641, allocations: 0 / 1.37 GB, free: 3.352 MB / 1.061 GB Notification: Performance of Templates: time 0.01335/0.4774, allocations: 6.247 MB / 1.376 GB, free: 13.18 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1) [Timeout 400] 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: 9.119760344008682]