Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001649/0.001649, 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.001981/0.001981, allocations: 220.7 kB / 23.05 MB, free: 5.074 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.387/1.387, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.647/2.647, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002004/0.002004, allocations: 63.84 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2795, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02805/0.3075, allocations: 23.63 MB / 1.307 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3189, allocations: 6.439 MB / 1.314 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.321, allocations: 123.1 kB / 1.314 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005712/0.3267, allocations: 1.619 MB / 1.315 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006225/0.3329, allocations: 1.727 MB / 1.317 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005184/0.3381, allocations: 1.393 MB / 1.318 GB, free: 8.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.3482, allocations: 5.948 MB / 1.324 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006464/0.3547, allocations: 3.224 MB / 1.327 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005227/0.3599, allocations: 2.485 MB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006943/0.3669, allocations: 3.061 MB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001675/0.3685, allocations: 456 kB / 1.333 GB, free: 9.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00363/0.3722, allocations: 1.119 MB / 1.334 GB, free: 8.328 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00328/0.3755, allocations: 2.081 MB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003952/0.3794, allocations: 2.17 MB / 1.338 GB, free: 4.062 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.3936, allocations: 7.32 MB / 1.345 GB, free: 12.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.3936, allocations: 4 kB / 1.345 GB, free: 12.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3936, allocations: 0 / 1.345 GB, free: 12.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002335/0.3938, allocations: 0 / 1.345 GB, free: 12.72 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008367/0.4022, allocations: 3.839 MB / 1.349 GB, free: 8.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4022, allocations: 12.03 kB / 1.349 GB, free: 8.82 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001013/0.4023, allocations: 90.61 kB / 1.349 GB, free: 8.73 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007454/0.4031, allocations: 0.5015 MB / 1.35 GB, free: 8.219 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006007/0.4091, allocations: 1.231 MB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.4137, allocations: 2.297 MB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.4139, allocations: 242.4 kB / 1.353 GB, free: 4.402 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.4145, allocations: 315.9 kB / 1.354 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009619/0.4241, allocations: 6.212 MB / 1.36 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/0.4241, allocations: 15.88 kB / 1.36 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003584/0.4245, allocations: 136 kB / 1.36 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005048/0.425, allocations: 410.3 kB / 1.36 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007236/0.4322, allocations: 4.658 MB / 1.365 GB, free: 8.406 MB / 1.061 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.03182/0.4641, allocations: 28.74 MB / 1.393 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.4661, allocations: 1.377 MB / 1.394 GB, free: 7.551 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.468, allocations: 1.448 MB / 1.396 GB, free: 6.102 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.4681, allocations: 9 kB / 1.396 GB, free: 6.094 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.4681, allocations: 47.5 kB / 1.396 GB, free: 6.035 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.126e-06/0.4682, allocations: 0 / 1.396 GB, free: 6.035 MB / 1.092 GB Notification: Performance of matching and sorting (n=179): time 0.1469/0.6151, allocations: 37.06 MB / 1.432 GB, free: 0.9297 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.6152, allocations: 77.33 kB / 1.432 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.6175, allocations: 1.423 MB / 1.433 GB, free: 15.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002568/0.6177, allocations: 57.7 kB / 1.434 GB, free: 15.35 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.6189, allocations: 1.583 MB / 1.435 GB, free: 13.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000808/0.6197, allocations: 0.6351 MB / 1.436 GB, free: 13.11 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009318/0.6207, allocations: 387.4 kB / 1.436 GB, free: 12.72 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6208, allocations: 305.1 kB / 1.436 GB, free: 12.42 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002759/0.6236, allocations: 1.792 MB / 1.438 GB, free: 10.62 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003476/0.627, allocations: 2.35 MB / 1.44 GB, free: 8.023 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006278/0.6333, allocations: 4.383 MB / 1.445 GB, free: 3.398 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/0.6333, allocations: 4 kB / 1.445 GB, free: 3.395 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01898/0.6523, allocations: 8.435 MB / 1.453 GB, free: 10.92 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.6524, allocations: 12 kB / 1.453 GB, free: 10.91 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.6524, allocations: 16 kB / 1.453 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01516/0.6675, allocations: 4.639 MB / 1.457 GB, free: 6.238 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.6688, allocations: 307.4 kB / 1.458 GB, free: 5.938 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05126/0.7201, allocations: 32.01 MB / 1.489 GB, free: 5.234 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/0.7222, allocations: 147.8 kB / 1.489 GB, free: 5.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.7224, allocations: 83.98 kB / 1.489 GB, free: 5.008 MB / 1.186 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.002256/0.7247, allocations: 1.328 MB / 1.491 GB, free: 3.668 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/0.7251, allocations: 214.7 kB / 1.491 GB, free: 3.457 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01852/0.7436, allocations: 8.289 MB / 1.499 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.7437, allocations: 19.94 kB / 1.499 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.924e-05/0.7437, allocations: 24 kB / 1.499 GB, free: 11.08 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.7437, allocations: 11.97 kB / 1.499 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02522/0.769, allocations: 12.68 MB / 1.511 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/0.769, allocations: 8 kB / 1.511 GB, free: 14.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/0.7697, allocations: 159.8 kB / 1.511 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01423/0.7839, allocations: 4.49 MB / 1.516 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002533/0.7842, allocations: 36 kB / 1.516 GB, free: 9.512 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04795/0.8321, allocations: 31.61 MB / 1.547 GB, free: 9.195 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/0.8321, allocations: 11.94 kB / 1.547 GB, free: 9.184 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/0.8491, allocations: 8.101 MB / 1.555 GB, free: 0.9531 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/0.8508, allocations: 0.5493 MB / 1.555 GB, free: 412 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/0.8511, allocations: 40 kB / 1.555 GB, free: 372 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.8525, allocations: 135.8 kB / 1.555 GB, free: 236 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/0.8532, allocations: 180.8 kB / 1.556 GB, free: 56 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.8534, allocations: 51.94 kB / 1.556 GB, free: 4 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001324/0.8547, allocations: 0.9588 MB / 1.557 GB, free: 15.05 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.8547, allocations: 4 kB / 1.557 GB, free: 15.04 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003167/0.8579, allocations: 1.113 MB / 1.558 GB, free: 13.93 MB / 1.264 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.01721/0.8751, allocations: 8.696 MB / 1.566 GB, free: 5.094 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01265/0.8877, allocations: 6.312 MB / 1.572 GB, free: 14.71 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.8877, allocations: 0 / 1.572 GB, free: 14.71 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.009218/0.8969, allocations: 4.19 MB / 1.576 GB, free: 10.44 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.8995, allocations: 0.5414 MB / 1.577 GB, free: 9.91 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6274/1.527, allocations: 33.53 MB / 1.61 GB, free: 296 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003671/1.531, allocations: 2.724 MB / 1.612 GB, free: 295.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001062/1.532, allocations: 389.1 kB / 1.613 GB, free: 295.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.533, allocations: 1.213 MB / 1.614 GB, free: 295.2 MB / 1.295 GB Notification: Performance of SimCode: time 8.41e-07/1.533, allocations: 1.312 kB / 1.614 GB, free: 295.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.649, allocations: 86.63 MB / 1.698 GB, free: 229.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/16.13, allocations: 3.625 kB / 1.698 GB, free: 229.1 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.17924312496325]