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.001861/0.001861, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002312/0.002312, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.801 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.822/2.822, allocations: 476 MB / 0.7699 GB, free: 4.773 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="me",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="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.002217/0.002217, allocations: 70.41 kB / 1.117 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3188, allocations: 170 MB / 1.283 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0305/0.3493, allocations: 21.55 MB / 1.304 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.3626, allocations: 6.179 MB / 1.31 GB, free: 1.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.3645, allocations: 123.1 kB / 1.31 GB, free: 1.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004799/0.3693, allocations: 1.575 MB / 1.311 GB, free: 15.47 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00479/0.3741, allocations: 1.723 MB / 1.313 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.3779, allocations: 1.344 MB / 1.314 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007803/0.3857, allocations: 5.94 MB / 1.32 GB, free: 6.441 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006308/0.392, allocations: 3.189 MB / 1.323 GB, free: 3.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00435/0.3963, allocations: 2.497 MB / 1.326 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00508/0.4014, allocations: 2.928 MB / 1.329 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.4027, allocations: 456 kB / 1.329 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.4055, allocations: 1.026 MB / 1.33 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003043/0.4086, allocations: 2.085 MB / 1.332 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003717/0.4123, allocations: 1.759 MB / 1.334 GB, free: 8.391 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.4227, allocations: 7.353 MB / 1.341 GB, free: 1.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4227, allocations: 0 / 1.341 GB, free: 1.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4227, allocations: 0 / 1.341 GB, free: 1.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001965/0.4229, allocations: 3.938 kB / 1.341 GB, free: 1.016 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.009541/0.4324, allocations: 3.842 MB / 1.345 GB, free: 13.12 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4325, allocations: 12.03 kB / 1.345 GB, free: 13.11 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000925/0.4334, allocations: 0.4937 MB / 1.345 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00635/0.4397, allocations: 1.235 MB / 1.346 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.4454, allocations: 2.304 MB / 1.349 GB, free: 9.016 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.4456, allocations: 242.4 kB / 1.349 GB, free: 8.777 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006946/0.4463, allocations: 312 kB / 1.349 GB, free: 8.473 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.4595, allocations: 6.438 MB / 1.355 GB, free: 1.723 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.4596, allocations: 15.88 kB / 1.355 GB, free: 1.707 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008385/0.4604, allocations: 139.9 kB / 1.356 GB, free: 1.57 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006469/0.4611, allocations: 410.3 kB / 1.356 GB, free: 1.168 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.4712, allocations: 4.654 MB / 1.361 GB, free: 12.5 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.0327/0.5039, allocations: 18.66 MB / 1.379 GB, free: 9.332 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.5064, allocations: 1.369 MB / 1.38 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.5087, allocations: 1.436 MB / 1.381 GB, free: 6.512 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.5088, allocations: 20.94 kB / 1.381 GB, free: 6.492 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.5088, allocations: 43.5 kB / 1.382 GB, free: 6.438 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.637e-06/0.5088, allocations: 0 / 1.382 GB, free: 6.438 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1568/0.6656, allocations: 37.07 MB / 1.418 GB, free: 1.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.6657, allocations: 73.34 kB / 1.418 GB, free: 1.238 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.6681, allocations: 1.446 MB / 1.419 GB, free: 15.78 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002508/0.6683, allocations: 57.7 kB / 1.419 GB, free: 15.72 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.6696, allocations: 1.583 MB / 1.421 GB, free: 14.12 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007753/0.6704, allocations: 0.639 MB / 1.421 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008433/0.6712, allocations: 383.5 kB / 1.422 GB, free: 13.1 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6714, allocations: 301.1 kB / 1.422 GB, free: 12.8 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/0.6744, allocations: 1.784 MB / 1.424 GB, free: 11.01 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/0.6779, allocations: 2.35 MB / 1.426 GB, free: 8.406 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006931/0.6848, allocations: 4.394 MB / 1.43 GB, free: 3.773 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-05/0.6849, allocations: 4 kB / 1.43 GB, free: 3.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02039/0.7053, allocations: 8.432 MB / 1.439 GB, free: 11.3 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.158e-05/0.7053, allocations: 12 kB / 1.439 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-05/0.7053, allocations: 16 kB / 1.439 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/0.7217, allocations: 4.617 MB / 1.443 GB, free: 6.641 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.723, allocations: 303.4 kB / 1.443 GB, free: 6.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05499/0.778, allocations: 31.59 MB / 1.474 GB, free: 6.059 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.7802, allocations: 151.8 kB / 1.474 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/0.7806, allocations: 87.98 kB / 1.475 GB, free: 5.824 MB / 1.217 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.002536/0.7831, allocations: 1.325 MB / 1.476 GB, free: 4.488 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005723/0.7837, allocations: 202.7 kB / 1.476 GB, free: 4.289 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01991/0.8036, allocations: 8.308 MB / 1.484 GB, free: 11.93 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.8036, allocations: 16 kB / 1.484 GB, free: 11.92 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.93e-05/0.8037, allocations: 31.94 kB / 1.484 GB, free: 11.89 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.8037, allocations: 7.969 kB / 1.484 GB, free: 11.88 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/0.8328, allocations: 12.2 MB / 1.496 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/0.8328, allocations: 4 kB / 1.496 GB, free: 15.51 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008199/0.8336, allocations: 167.7 kB / 1.496 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01581/0.8494, allocations: 4.48 MB / 1.501 GB, free: 10.85 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002946/0.8497, allocations: 32 kB / 1.501 GB, free: 10.82 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05432/0.9041, allocations: 31.21 MB / 1.531 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.9041, allocations: 11.94 kB / 1.531 GB, free: 10.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/0.9233, allocations: 8.097 MB / 1.539 GB, free: 2.676 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/0.9254, allocations: 0.5453 MB / 1.54 GB, free: 2.129 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/0.926, allocations: 43.98 kB / 1.54 GB, free: 2.086 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.9277, allocations: 131.8 kB / 1.54 GB, free: 1.957 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007949/0.9285, allocations: 184.8 kB / 1.54 GB, free: 1.777 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/0.9287, allocations: 48 kB / 1.54 GB, free: 1.73 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001608/0.9303, allocations: 0.9587 MB / 1.541 GB, free: 0.7734 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9303, allocations: 0 / 1.541 GB, free: 0.7734 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003444/0.9338, allocations: 1.117 MB / 1.542 GB, free: 15.65 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.01917/0.9529, allocations: 8.706 MB / 1.551 GB, free: 6.805 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01397/0.9669, allocations: 6.301 MB / 1.557 GB, free: 444 kB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.9669, allocations: 256 / 1.557 GB, free: 444 kB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/0.9771, allocations: 4.197 MB / 1.561 GB, free: 12.16 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.9801, allocations: 0.5359 MB / 1.561 GB, free: 11.63 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06945/1.05, allocations: 33.52 MB / 1.594 GB, free: 9.176 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00437/1.054, allocations: 2.162 MB / 1.596 GB, free: 6.969 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.001299/1.055, allocations: 396.5 kB / 1.597 GB, free: 6.578 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/1.057, allocations: 1.214 MB / 1.598 GB, free: 5.363 MB / 1.342 GB Notification: Performance of SimCode: time 7.92e-07/1.057, allocations: 0 / 1.598 GB, free: 5.363 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7525/1.81, allocations: 89.91 MB / 1.686 GB, free: 350.7 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/15.58, allocations: 8.109 kB / 1.686 GB, free: 350.7 MB / 1.373 GB " [Timeout remaining time 284] (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: 22.62334037013352]