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.001241/0.001241, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001393/0.001393, allocations: 215.3 kB / 23.04 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.95/2.95, allocations: 0.49 GB / 0.7959 GB, free: 33.5 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.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="cs",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="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.001862/0.001862, allocations: 60.44 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3223, allocations: 176.1 MB / 1.327 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02826/0.3505, allocations: 23.64 MB / 1.35 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.362, allocations: 6.435 MB / 1.356 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.3633, allocations: 127.1 kB / 1.356 GB, free: 3.648 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003825/0.3671, allocations: 1.617 MB / 1.358 GB, free: 2.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.3705, allocations: 1.727 MB / 1.359 GB, free: 300 kB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.3735, allocations: 1.394 MB / 1.361 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006758/0.3802, allocations: 5.932 MB / 1.367 GB, free: 8.945 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.3849, allocations: 3.228 MB / 1.37 GB, free: 5.629 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.3885, allocations: 2.485 MB / 1.372 GB, free: 3.137 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004521/0.393, allocations: 3.069 MB / 1.375 GB, free: 60 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007673/0.3938, allocations: 456 kB / 1.376 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.3961, allocations: 1.119 MB / 1.377 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002623/0.3988, allocations: 2.081 MB / 1.379 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002996/0.4018, allocations: 2.17 MB / 1.381 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008848/0.4106, allocations: 7.316 MB / 1.388 GB, free: 2.887 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4106, allocations: 0 / 1.388 GB, free: 2.887 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4106, allocations: 0 / 1.388 GB, free: 2.887 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001313/0.4107, allocations: 4 kB / 1.388 GB, free: 2.883 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.006761/0.4175, allocations: 3.834 MB / 1.392 GB, free: 15 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4176, allocations: 12.03 kB / 1.392 GB, free: 14.99 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.362e-05/0.4176, allocations: 90.55 kB / 1.392 GB, free: 14.9 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006332/0.4183, allocations: 0.5014 MB / 1.392 GB, free: 14.39 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/0.4241, allocations: 1.231 MB / 1.394 GB, free: 13.15 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.4286, allocations: 2.304 MB / 1.396 GB, free: 10.8 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.4288, allocations: 238.4 kB / 1.396 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/0.4293, allocations: 315.9 kB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009354/0.4387, allocations: 6.209 MB / 1.402 GB, free: 3.793 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/0.4387, allocations: 15.88 kB / 1.402 GB, free: 3.777 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003417/0.4391, allocations: 139.9 kB / 1.403 GB, free: 3.641 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005075/0.4396, allocations: 410.3 kB / 1.403 GB, free: 3.238 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007205/0.4468, allocations: 4.658 MB / 1.407 GB, free: 14.57 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.0322/0.479, allocations: 28.74 MB / 1.436 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.4811, allocations: 1.377 MB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.483, allocations: 1.429 MB / 1.438 GB, free: 12.29 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.6e-05/0.4831, allocations: 13 kB / 1.438 GB, free: 12.27 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.4832, allocations: 55.44 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/0.4832, allocations: 3.938 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of matching and sorting (n=179): time 0.144/0.6271, allocations: 37.06 MB / 1.475 GB, free: 7.086 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.6272, allocations: 73.34 kB / 1.475 GB, free: 7 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.6292, allocations: 1.427 MB / 1.476 GB, free: 5.566 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/0.6294, allocations: 53.7 kB / 1.476 GB, free: 5.508 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.6306, allocations: 1.586 MB / 1.478 GB, free: 3.906 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006525/0.6313, allocations: 0.639 MB / 1.478 GB, free: 3.262 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007451/0.632, allocations: 383.5 kB / 1.479 GB, free: 2.879 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6321, allocations: 305.1 kB / 1.479 GB, free: 2.578 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/0.6347, allocations: 1.78 MB / 1.481 GB, free: 0.793 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/0.6378, allocations: 2.358 MB / 1.483 GB, free: 14.18 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005844/0.6436, allocations: 4.387 MB / 1.487 GB, free: 9.555 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.6437, allocations: 7.938 kB / 1.487 GB, free: 9.547 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01797/0.6616, allocations: 8.423 MB / 1.495 GB, free: 1.086 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.6617, allocations: 12 kB / 1.495 GB, free: 1.074 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/0.6617, allocations: 20.84 kB / 1.495 GB, free: 1.055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/0.6764, allocations: 4.638 MB / 1.5 GB, free: 12.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.6776, allocations: 311.4 kB / 1.5 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04966/0.7273, allocations: 32.01 MB / 1.532 GB, free: 11.4 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.7294, allocations: 155.8 kB / 1.532 GB, free: 11.25 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.7297, allocations: 83.94 kB / 1.532 GB, free: 11.16 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.00228/0.7319, allocations: 1.332 MB / 1.533 GB, free: 9.82 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.7324, allocations: 210.7 kB / 1.533 GB, free: 9.613 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/0.7505, allocations: 8.285 MB / 1.541 GB, free: 1.281 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.7505, allocations: 23.94 kB / 1.541 GB, free: 1.258 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.97e-05/0.7505, allocations: 24 kB / 1.541 GB, free: 1.234 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-05/0.7506, allocations: 11.97 kB / 1.541 GB, free: 1.223 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/0.7765, allocations: 12.67 MB / 1.554 GB, free: 4.383 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.7766, allocations: 12.03 kB / 1.554 GB, free: 4.371 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.7773, allocations: 163.7 kB / 1.554 GB, free: 4.211 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01427/0.7916, allocations: 4.487 MB / 1.558 GB, free: 15.71 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.7918, allocations: 36 kB / 1.558 GB, free: 15.67 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04839/0.8402, allocations: 31.62 MB / 1.589 GB, free: 15.35 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/0.8402, allocations: 11.94 kB / 1.589 GB, free: 15.34 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/0.8574, allocations: 8.097 MB / 1.597 GB, free: 7.113 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.859, allocations: 0.557 MB / 1.598 GB, free: 6.555 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/0.8594, allocations: 32 kB / 1.598 GB, free: 6.523 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.8608, allocations: 139.8 kB / 1.598 GB, free: 6.387 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008403/0.8616, allocations: 180.8 kB / 1.598 GB, free: 6.211 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8618, allocations: 51.94 kB / 1.598 GB, free: 6.16 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001369/0.8631, allocations: 0.9588 MB / 1.599 GB, free: 5.207 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/0.8631, allocations: 0 / 1.599 GB, free: 5.207 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003256/0.8664, allocations: 1.117 MB / 1.6 GB, free: 4.09 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.664/1.53, allocations: 8.69 MB / 1.609 GB, free: 257.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.543, allocations: 6.318 MB / 1.615 GB, free: 256.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.543, allocations: 0 / 1.615 GB, free: 256.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01072/1.554, allocations: 4.183 MB / 1.619 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.557, allocations: 0.5341 MB / 1.619 GB, free: 255.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05217/1.609, allocations: 33.54 MB / 1.652 GB, free: 241.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/1.611, allocations: 2.728 MB / 1.655 GB, free: 240.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009649/1.612, allocations: 386.2 kB / 1.655 GB, free: 240.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009426/1.613, allocations: 1.212 MB / 1.656 GB, free: 239 MB / 1.295 GB Notification: Performance of SimCode: time 9.52e-07/1.613, allocations: 3.938 kB / 1.656 GB, free: 239 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.138/1.751, allocations: 86.63 MB / 1.741 GB, free: 155.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/16.34, allocations: 14.23 kB / 1.741 GB, free: 155.4 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.376978857035283]