Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001583/0.001583, allocations: 97.92 kB / 19.73 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.001931/0.001931, allocations: 223.8 kB / 23.03 MB, free: 4.949 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.085/3.085, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001906/0.001906, allocations: 61.62 kB / 1.171 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3611, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02702/0.3881, allocations: 21.52 MB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.3993, allocations: 6.171 MB / 1.372 GB, free: 4.148 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.4012, allocations: 123.1 kB / 1.372 GB, free: 4.027 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004453/0.4057, allocations: 1.565 MB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.4101, allocations: 1.731 MB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.4137, allocations: 1.344 MB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007575/0.4213, allocations: 5.936 MB / 1.383 GB, free: 9.422 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/0.4273, allocations: 3.222 MB / 1.386 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.432, allocations: 2.5 MB / 1.388 GB, free: 3.605 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005321/0.4373, allocations: 3.073 MB / 1.391 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.4387, allocations: 456 kB / 1.392 GB, free: 80 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.4418, allocations: 1.038 MB / 1.393 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003196/0.445, allocations: 2.085 MB / 1.395 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003319/0.4483, allocations: 1.751 MB / 1.397 GB, free: 11.19 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008864/0.4572, allocations: 7.355 MB / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.4572, allocations: 0 / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4572, allocations: 0 / 1.404 GB, free: 3.812 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000193/0.4574, allocations: 0 / 1.404 GB, free: 3.812 MB / 1.092 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.008205/0.4656, allocations: 3.838 MB / 1.408 GB, free: 15.93 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.4656, allocations: 12.03 kB / 1.408 GB, free: 15.91 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001116/0.4658, allocations: 86.61 kB / 1.408 GB, free: 15.83 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008189/0.4666, allocations: 0.5015 MB / 1.408 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006179/0.4728, allocations: 1.227 MB / 1.409 GB, free: 14.09 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/0.4777, allocations: 2.304 MB / 1.412 GB, free: 11.73 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.4779, allocations: 238.4 kB / 1.412 GB, free: 11.5 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007761/0.4787, allocations: 315.9 kB / 1.412 GB, free: 11.19 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.4907, allocations: 6.438 MB / 1.418 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.429e-05/0.4907, allocations: 27.81 kB / 1.418 GB, free: 4.414 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004002/0.4911, allocations: 136 kB / 1.419 GB, free: 4.281 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005327/0.4917, allocations: 406.3 kB / 1.419 GB, free: 3.883 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.5004, allocations: 4.658 MB / 1.423 GB, free: 15.21 MB / 1.123 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.02874/0.5291, allocations: 18.66 MB / 1.442 GB, free: 12.04 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.5312, allocations: 1.365 MB / 1.443 GB, free: 10.66 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/0.5332, allocations: 1.449 MB / 1.444 GB, free: 9.211 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.97e-05/0.5333, allocations: 13 kB / 1.444 GB, free: 9.199 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.5333, allocations: 47.5 kB / 1.444 GB, free: 9.145 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.5333, allocations: 0 / 1.444 GB, free: 9.145 MB / 1.139 GB Notification: Performance of matching and sorting (n=179): time 0.1328/0.6661, allocations: 37.07 MB / 1.481 GB, free: 4.023 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.6662, allocations: 73.34 kB / 1.481 GB, free: 3.941 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.6683, allocations: 1.423 MB / 1.482 GB, free: 2.512 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.6686, allocations: 53.7 kB / 1.482 GB, free: 2.453 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.6699, allocations: 1.586 MB / 1.484 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007482/0.6706, allocations: 0.6429 MB / 1.484 GB, free: 208 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007816/0.6714, allocations: 383.5 kB / 1.485 GB, free: 15.82 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6715, allocations: 305.1 kB / 1.485 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.6742, allocations: 1.784 MB / 1.487 GB, free: 13.73 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/0.6772, allocations: 2.35 MB / 1.489 GB, free: 11.12 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006035/0.6833, allocations: 4.394 MB / 1.493 GB, free: 6.488 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.6833, allocations: 8 kB / 1.493 GB, free: 6.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01787/0.7012, allocations: 8.431 MB / 1.502 GB, free: 14.01 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.7012, allocations: 12 kB / 1.502 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.7012, allocations: 16 kB / 1.502 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/0.7161, allocations: 4.601 MB / 1.506 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7173, allocations: 307.4 kB / 1.506 GB, free: 9.066 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04864/0.766, allocations: 31.59 MB / 1.537 GB, free: 8.785 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.768, allocations: 155.8 kB / 1.537 GB, free: 8.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.7683, allocations: 80 kB / 1.537 GB, free: 8.555 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.002297/0.7705, allocations: 1.329 MB / 1.539 GB, free: 7.215 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/0.771, allocations: 206.7 kB / 1.539 GB, free: 7.012 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/0.7882, allocations: 8.289 MB / 1.547 GB, free: 14.68 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-05/0.7882, allocations: 23.94 kB / 1.547 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.064e-05/0.7883, allocations: 28 kB / 1.547 GB, free: 14.62 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.7883, allocations: 11.95 kB / 1.547 GB, free: 14.61 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/0.8126, allocations: 12.21 MB / 1.559 GB, free: 2.234 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.8126, allocations: 8 kB / 1.559 GB, free: 2.227 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007169/0.8133, allocations: 163.7 kB / 1.559 GB, free: 2.066 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01428/0.8276, allocations: 4.474 MB / 1.564 GB, free: 13.58 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002884/0.8279, allocations: 36 kB / 1.564 GB, free: 13.54 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04694/0.8748, allocations: 31.2 MB / 1.594 GB, free: 13.64 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.8749, allocations: 11.94 kB / 1.594 GB, free: 13.62 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.8919, allocations: 8.105 MB / 1.602 GB, free: 5.395 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.8935, allocations: 0.5492 MB / 1.603 GB, free: 4.844 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004013/0.8939, allocations: 43.98 kB / 1.603 GB, free: 4.801 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.8952, allocations: 127.8 kB / 1.603 GB, free: 4.676 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007906/0.896, allocations: 184.7 kB / 1.603 GB, free: 4.496 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.8961, allocations: 55.92 kB / 1.603 GB, free: 4.441 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001368/0.8975, allocations: 0.9588 MB / 1.604 GB, free: 3.488 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.8975, allocations: 0 / 1.604 GB, free: 3.488 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003653/0.9011, allocations: 1.113 MB / 1.605 GB, free: 2.375 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.7143/1.615, allocations: 8.69 MB / 1.613 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01277/1.628, allocations: 6.295 MB / 1.62 GB, free: 240.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.628, allocations: 1.25 kB / 1.62 GB, free: 240.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009595/1.638, allocations: 4.201 MB / 1.624 GB, free: 239.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.64, allocations: 0.532 MB / 1.624 GB, free: 239 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05507/1.696, allocations: 33.55 MB / 1.657 GB, free: 225.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/1.698, allocations: 2.175 MB / 1.659 GB, free: 224.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001098/1.699, allocations: 386.9 kB / 1.659 GB, free: 224.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/1.7, allocations: 1.214 MB / 1.661 GB, free: 223.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/1.7, allocations: 0 / 1.661 GB, free: 223.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.837, allocations: 89.44 MB / 1.748 GB, free: 136.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/16.84, allocations: 11.75 kB / 1.748 GB, free: 136.6 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 24.100073937908746]