Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001277/0.001277, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001489/0.001489, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.412/1.412, allocations: 230.6 MB / 256 MB, free: 7.957 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.176/3.176, allocations: 0.49 GB / 0.7951 GB, free: 33.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001972/0.001972, allocations: 69.08 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03051/0.3698, allocations: 23.62 MB / 1.349 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.3826, allocations: 6.439 MB / 1.355 GB, free: 3.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.385, allocations: 127.1 kB / 1.355 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005033/0.3901, allocations: 1.617 MB / 1.357 GB, free: 2.023 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.3949, allocations: 1.731 MB / 1.359 GB, free: 292 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.3988, allocations: 1.393 MB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007991/0.4068, allocations: 5.932 MB / 1.366 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006134/0.413, allocations: 3.224 MB / 1.369 GB, free: 5.629 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.4172, allocations: 2.485 MB / 1.371 GB, free: 3.137 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005193/0.4224, allocations: 3.061 MB / 1.374 GB, free: 68 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001348/0.4238, allocations: 456 kB / 1.375 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4268, allocations: 1.123 MB / 1.376 GB, free: 14.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003311/0.4301, allocations: 2.093 MB / 1.378 GB, free: 12.4 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004495/0.4346, allocations: 2.159 MB / 1.38 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.4456, allocations: 7.324 MB / 1.387 GB, free: 2.883 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.4456, allocations: 0 / 1.387 GB, free: 2.883 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4456, allocations: 3.938 kB / 1.387 GB, free: 2.879 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003377/0.4459, allocations: 0 / 1.387 GB, free: 2.879 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01172/0.4576, allocations: 3.836 MB / 1.391 GB, free: 14.99 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.4577, allocations: 8.031 kB / 1.391 GB, free: 14.98 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001643/0.4593, allocations: 0.5014 MB / 1.391 GB, free: 14.47 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006668/0.466, allocations: 1.231 MB / 1.393 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006316/0.4723, allocations: 2.299 MB / 1.395 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.4726, allocations: 242.4 kB / 1.395 GB, free: 10.65 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/0.4739, allocations: 319.8 kB / 1.395 GB, free: 10.34 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.4876, allocations: 6.216 MB / 1.402 GB, free: 3.871 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001487/0.4878, allocations: 11.94 kB / 1.402 GB, free: 3.859 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008568/0.4886, allocations: 139.9 kB / 1.402 GB, free: 3.723 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00059/0.4892, allocations: 414.2 kB / 1.402 GB, free: 3.316 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009295/0.4985, allocations: 4.651 MB / 1.407 GB, free: 14.66 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03742/0.5359, allocations: 28.75 MB / 1.435 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/0.5381, allocations: 1.371 MB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002122/0.5403, allocations: 1.437 MB / 1.437 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.5404, allocations: 9 kB / 1.437 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.5405, allocations: 51.5 kB / 1.437 GB, free: 12.29 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.5405, allocations: 0 / 1.437 GB, free: 12.29 MB / 1.139 GB Notification: Performance of matching and sorting (n=179): time 0.1326/0.6731, allocations: 37.07 MB / 1.474 GB, free: 7.172 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.6731, allocations: 77.34 kB / 1.474 GB, free: 7.082 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.6756, allocations: 1.423 MB / 1.475 GB, free: 5.652 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003119/0.6759, allocations: 53.7 kB / 1.475 GB, free: 5.594 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.6772, allocations: 1.579 MB / 1.477 GB, free: 4 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008787/0.6781, allocations: 0.6468 MB / 1.477 GB, free: 3.348 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009392/0.679, allocations: 379.5 kB / 1.478 GB, free: 2.969 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.6792, allocations: 305.1 kB / 1.478 GB, free: 2.668 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.6819, allocations: 1.784 MB / 1.48 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.6852, allocations: 2.35 MB / 1.482 GB, free: 14.28 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006281/0.6915, allocations: 4.394 MB / 1.486 GB, free: 9.645 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.6915, allocations: 4 kB / 1.486 GB, free: 9.641 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01869/0.7102, allocations: 8.428 MB / 1.495 GB, free: 1.176 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.7103, allocations: 12 kB / 1.495 GB, free: 1.164 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/0.7103, allocations: 16.09 kB / 1.495 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01469/0.725, allocations: 4.639 MB / 1.499 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.7262, allocations: 299.5 kB / 1.499 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05054/0.7767, allocations: 32.02 MB / 1.531 GB, free: 11.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.7788, allocations: 155.8 kB / 1.531 GB, free: 11.33 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003721/0.7791, allocations: 80 kB / 1.531 GB, free: 11.25 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002677/0.7818, allocations: 1.332 MB / 1.532 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006165/0.7824, allocations: 206.7 kB / 1.532 GB, free: 9.703 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01822/0.8006, allocations: 8.296 MB / 1.541 GB, free: 1.363 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.588e-05/0.8007, allocations: 16 kB / 1.541 GB, free: 1.348 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.806e-05/0.8008, allocations: 28 kB / 1.541 GB, free: 1.32 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/0.8008, allocations: 11.95 kB / 1.541 GB, free: 1.309 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02689/0.8277, allocations: 12.67 MB / 1.553 GB, free: 4.465 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.8277, allocations: 8 kB / 1.553 GB, free: 4.457 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.8284, allocations: 163.7 kB / 1.553 GB, free: 4.297 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01417/0.8426, allocations: 4.488 MB / 1.558 GB, free: 15.79 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/0.843, allocations: 35.94 kB / 1.558 GB, free: 15.76 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0493/0.8923, allocations: 31.62 MB / 1.588 GB, free: 15.43 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.055e-05/0.8923, allocations: 8 kB / 1.588 GB, free: 15.42 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/0.9099, allocations: 8.109 MB / 1.596 GB, free: 7.18 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/0.912, allocations: 0.5531 MB / 1.597 GB, free: 6.625 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/0.9127, allocations: 39.98 kB / 1.597 GB, free: 6.586 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/0.9143, allocations: 135.8 kB / 1.597 GB, free: 6.453 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008551/0.9151, allocations: 180.8 kB / 1.597 GB, free: 6.277 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/0.9153, allocations: 44 kB / 1.597 GB, free: 6.234 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001714/0.9171, allocations: 0.9627 MB / 1.598 GB, free: 5.277 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/0.9171, allocations: 0 / 1.598 GB, free: 5.277 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003854/0.9209, allocations: 1.117 MB / 1.599 GB, free: 4.16 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.6817/1.603, allocations: 8.694 MB / 1.608 GB, free: 257.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0131/1.616, allocations: 6.303 MB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.616, allocations: 1.281 kB / 1.614 GB, free: 256.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01584/1.632, allocations: 4.192 MB / 1.618 GB, free: 255.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004402/1.636, allocations: 0.5251 MB / 1.619 GB, free: 255.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06125/1.697, allocations: 33.55 MB / 1.651 GB, free: 241.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/1.7, allocations: 2.724 MB / 1.654 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001037/1.701, allocations: 384.6 kB / 1.654 GB, free: 239.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/1.702, allocations: 1.214 MB / 1.656 GB, free: 238.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.71e-07/1.702, allocations: 0 / 1.656 GB, free: 238.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.129/1.831, allocations: 86.6 MB / 1.74 GB, free: 155.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16.72, allocations: 3 kB / 1.74 GB, free: 155.5 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 23.75370119512081]