Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.001888/0.001888, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002507/0.002507, allocations: 210 kB / 23 MB, free: 4.934 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.24/3.24, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [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.002021/0.002021, allocations: 66.47 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0229/0.3866, allocations: 16.44 MB / 1.343 GB, free: 0.5156 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.3969, allocations: 5.705 MB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.3981, allocations: 51.81 kB / 1.349 GB, free: 10.74 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004394/0.4025, allocations: 1.546 MB / 1.35 GB, free: 9.195 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.4047, allocations: 0.8442 MB / 1.351 GB, free: 8.348 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002935/0.4077, allocations: 1.064 MB / 1.352 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00575/0.4134, allocations: 3.91 MB / 1.356 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006129/0.4196, allocations: 2.861 MB / 1.359 GB, free: 416 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003553/0.4231, allocations: 1.785 MB / 1.361 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.4283, allocations: 2.224 MB / 1.363 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009292/0.4292, allocations: 416 kB / 1.363 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.4316, allocations: 1.034 MB / 1.364 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.4337, allocations: 1.703 MB / 1.366 GB, free: 9.238 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.4357, allocations: 1.3 MB / 1.367 GB, free: 7.934 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006966/0.4426, allocations: 6.099 MB / 1.373 GB, free: 1.816 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4426, allocations: 0 / 1.373 GB, free: 1.816 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4426, allocations: 0 / 1.373 GB, free: 1.816 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001341/0.4428, allocations: 0 / 1.373 GB, free: 1.816 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005878/0.4486, allocations: 2.758 MB / 1.376 GB, free: 15.01 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4487, allocations: 8.031 kB / 1.376 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.4519, allocations: 0.6705 MB / 1.376 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.4553, allocations: 1.416 MB / 1.378 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.4555, allocations: 210 kB / 1.378 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005198/0.456, allocations: 268.4 kB / 1.378 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008677/0.4647, allocations: 4.791 MB / 1.383 GB, free: 7.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.522e-05/0.4648, allocations: 4 kB / 1.383 GB, free: 7.516 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.4651, allocations: 116 kB / 1.383 GB, free: 7.402 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.4653, allocations: 152.6 kB / 1.383 GB, free: 7.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006732/0.472, allocations: 4.078 MB / 1.387 GB, free: 3.156 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.4921, allocations: 12.41 MB / 1.399 GB, free: 6.258 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.4952, allocations: 1.42 MB / 1.401 GB, free: 4.797 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.4964, allocations: 0.7448 MB / 1.401 GB, free: 4.043 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.4965, allocations: 20.64 kB / 1.401 GB, free: 4.023 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.4965, allocations: 59.08 kB / 1.401 GB, free: 3.957 MB / 1.092 GB Notification: Performance of pre-optimization done (n=77): time 3.096e-06/0.4965, allocations: 0 / 1.401 GB, free: 3.957 MB / 1.092 GB Notification: Performance of matching and sorting (n=92): time 0.01825/0.5148, allocations: 5.282 MB / 1.407 GB, free: 14.66 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.5149, allocations: 141.5 kB / 1.407 GB, free: 14.49 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.5162, allocations: 1.003 MB / 1.408 GB, free: 13.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.5163, allocations: 41.7 kB / 1.408 GB, free: 13.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000861/0.5172, allocations: 1.224 MB / 1.409 GB, free: 12.19 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.5175, allocations: 353 kB / 1.409 GB, free: 11.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000575/0.5181, allocations: 359.4 kB / 1.41 GB, free: 11.48 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5182, allocations: 334 kB / 1.41 GB, free: 11.15 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.5195, allocations: 0.8792 MB / 1.411 GB, free: 10.27 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.5214, allocations: 1.514 MB / 1.412 GB, free: 8.469 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.5247, allocations: 2.446 MB / 1.415 GB, free: 5.73 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.5247, allocations: 8 kB / 1.415 GB, free: 5.723 MB / 1.107 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.00404/0.5287, allocations: 2.511 MB / 1.417 GB, free: 3.203 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.5287, allocations: 18.66 kB / 1.417 GB, free: 3.188 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/0.5288, allocations: 20 kB / 1.417 GB, free: 3.168 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/0.5288, allocations: 32 kB / 1.417 GB, free: 3.137 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002454/0.5313, allocations: 0.5225 MB / 1.418 GB, free: 2.613 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.437e-05/0.5313, allocations: 43.86 kB / 1.418 GB, free: 2.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.5324, allocations: 159.7 kB / 1.418 GB, free: 2.414 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.5326, allocations: 83.98 kB / 1.418 GB, free: 2.332 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002972/0.5355, allocations: 1.905 MB / 1.42 GB, free: 432 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001858/0.5374, allocations: 1.499 MB / 1.421 GB, free: 14.63 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003316/0.5407, allocations: 2.426 MB / 1.424 GB, free: 11.91 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.547e-05/0.5407, allocations: 8 kB / 1.424 GB, free: 11.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.00404/0.5448, allocations: 2.489 MB / 1.426 GB, free: 9.402 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.5448, allocations: 16.19 kB / 1.426 GB, free: 9.387 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.5448, allocations: 24 kB / 1.426 GB, free: 9.363 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/0.5449, allocations: 35.98 kB / 1.426 GB, free: 9.328 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/0.5474, allocations: 0.5148 MB / 1.427 GB, free: 8.812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.8e-05/0.5475, allocations: 39.86 kB / 1.427 GB, free: 8.773 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5487, allocations: 147.8 kB / 1.427 GB, free: 8.629 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.5488, allocations: 87.98 kB / 1.427 GB, free: 8.543 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0005121/0.5493, allocations: 292.1 kB / 1.427 GB, free: 8.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.5496, allocations: 91.44 kB / 1.427 GB, free: 8.16 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.5527, allocations: 1.832 MB / 1.429 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.5527, allocations: 3.984 kB / 1.429 GB, free: 6.277 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5527, allocations: 4 kB / 1.429 GB, free: 6.273 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.5533, allocations: 215.3 kB / 1.429 GB, free: 6.062 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.5534, allocations: 19.98 kB / 1.429 GB, free: 6.043 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/0.5541, allocations: 75.89 kB / 1.429 GB, free: 5.969 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.5542, allocations: 52.84 kB / 1.429 GB, free: 5.914 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002712/0.5569, allocations: 1.596 MB / 1.431 GB, free: 4.316 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002038/0.5589, allocations: 1.602 MB / 1.433 GB, free: 2.691 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007337/0.5597, allocations: 0.5153 MB / 1.433 GB, free: 2.18 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001045/0.5607, allocations: 0.7333 MB / 1.434 GB, free: 1.445 MB / 1.123 GB Notification: Performance of Backend: time 3.21e-07/0.5607, allocations: 0 / 1.434 GB, free: 1.445 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005514/0.5662, allocations: 2.744 MB / 1.436 GB, free: 14.7 MB / 1.139 GB Notification: Performance of SimCode: time 0.007102/0.5733, allocations: 4.224 MB / 1.441 GB, free: 10.42 MB / 1.139 GB Notification: Performance of Templates: time 0.05228/0.6256, allocations: 31.82 MB / 1.472 GB, free: 10.9 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.990874695999082]