Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001357/0.001357, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001445/0.001445, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.777 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.82/2.82, allocations: 476 MB / 0.7699 GB, free: 4.738 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_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.002133/0.002133, allocations: 70.61 kB / 1.117 GB, free: 40.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3021, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01356/0.3156, allocations: 9.657 MB / 1.292 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00582/0.3214, allocations: 3.025 MB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005018/0.3219, allocations: 43.69 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.3239, allocations: 0.6979 MB / 1.296 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.3253, allocations: 0.7234 MB / 1.296 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001398/0.3267, allocations: 0.6394 MB / 1.297 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00303/0.3297, allocations: 2.738 MB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001976/0.3317, allocations: 1.36 MB / 1.301 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/0.3336, allocations: 1.157 MB / 1.302 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.3358, allocations: 1.433 MB / 1.304 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003454/0.3362, allocations: 216 kB / 1.304 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009458/0.3371, allocations: 463.4 kB / 1.304 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.3382, allocations: 1.009 MB / 1.305 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.3393, allocations: 0.8288 MB / 1.306 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003663/0.3429, allocations: 3.436 MB / 1.309 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3429, allocations: 4 kB / 1.309 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3429, allocations: 0 / 1.309 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.711e-05/0.343, allocations: 0 / 1.309 GB, free: 0.9023 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003627/0.3466, allocations: 1.911 MB / 1.311 GB, free: 14.95 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3466, allocations: 8.031 kB / 1.311 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003492/0.347, allocations: 252.7 kB / 1.311 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/0.3529, allocations: 0.9008 MB / 1.312 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.3558, allocations: 1.124 MB / 1.313 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.3559, allocations: 115.3 kB / 1.314 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.3562, allocations: 140.3 kB / 1.314 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.3613, allocations: 3.096 MB / 1.317 GB, free: 9.164 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.3614, allocations: 15.94 kB / 1.317 GB, free: 9.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.3616, allocations: 59.97 kB / 1.317 GB, free: 9.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002411/0.3618, allocations: 175 kB / 1.317 GB, free: 8.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00437/0.3662, allocations: 2.6 MB / 1.319 GB, free: 6.312 MB / 1.014 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.01553/0.3817, allocations: 9.328 MB / 1.329 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.3838, allocations: 1.213 MB / 1.33 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.3852, allocations: 0.9799 MB / 1.331 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.3853, allocations: 8.656 kB / 1.331 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.3853, allocations: 39.22 kB / 1.331 GB, free: 10.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.3853, allocations: 4 kB / 1.331 GB, free: 10.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07849/0.4638, allocations: 18.9 MB / 1.349 GB, free: 7.551 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.4639, allocations: 64.72 kB / 1.349 GB, free: 7.473 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.4653, allocations: 0.9455 MB / 1.35 GB, free: 6.516 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4654, allocations: 45.7 kB / 1.35 GB, free: 6.465 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.466, allocations: 0.7501 MB / 1.351 GB, free: 5.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.4665, allocations: 0.4996 MB / 1.351 GB, free: 5.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000588/0.4671, allocations: 291.5 kB / 1.352 GB, free: 4.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4673, allocations: 353.9 kB / 1.352 GB, free: 4.559 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.4694, allocations: 1.335 MB / 1.353 GB, free: 3.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.4718, allocations: 1.655 MB / 1.355 GB, free: 1.453 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004495/0.4763, allocations: 3.096 MB / 1.358 GB, free: 14.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.4763, allocations: 8 kB / 1.358 GB, free: 14.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0125/0.4888, allocations: 5.55 MB / 1.363 GB, free: 8.652 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.4888, allocations: 11.94 kB / 1.363 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.4888, allocations: 12.03 kB / 1.364 GB, free: 8.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009291/0.4981, allocations: 2.719 MB / 1.366 GB, free: 5.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/0.4989, allocations: 191.7 kB / 1.366 GB, free: 5.711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04067/0.5396, allocations: 24.99 MB / 1.391 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/0.541, allocations: 99.89 kB / 1.391 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.5411, allocations: 55.98 kB / 1.391 GB, free: 12.11 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.5424, allocations: 0.7277 MB / 1.392 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.5426, allocations: 123.2 kB / 1.392 GB, free: 11.25 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5547, allocations: 5.318 MB / 1.397 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.5547, allocations: 12 kB / 1.397 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.5548, allocations: 20 kB / 1.397 GB, free: 5.871 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5548, allocations: 11.91 kB / 1.397 GB, free: 5.859 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/0.5726, allocations: 8.248 MB / 1.405 GB, free: 13.5 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5726, allocations: 8 kB / 1.405 GB, free: 13.49 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.5731, allocations: 120.2 kB / 1.405 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009171/0.5822, allocations: 2.592 MB / 1.408 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.5824, allocations: 31.94 kB / 1.408 GB, free: 10.74 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03772/0.6201, allocations: 23.44 MB / 1.431 GB, free: 2.836 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/0.6201, allocations: 12.05 kB / 1.431 GB, free: 2.824 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.632, allocations: 5.179 MB / 1.436 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6334, allocations: 427.1 kB / 1.436 GB, free: 13.14 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.6336, allocations: 28 kB / 1.436 GB, free: 13.12 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009771/0.6346, allocations: 83.89 kB / 1.436 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005072/0.6351, allocations: 125 kB / 1.436 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6352, allocations: 36 kB / 1.436 GB, free: 12.88 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009111/0.6361, allocations: 0.6473 MB / 1.437 GB, free: 12.23 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6361, allocations: 0 / 1.437 GB, free: 12.23 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0023/0.6384, allocations: 0.7188 MB / 1.438 GB, free: 11.51 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01185/0.6502, allocations: 5.75 MB / 1.443 GB, free: 5.668 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.008108/0.6584, allocations: 4.078 MB / 1.447 GB, free: 1.539 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.6584, allocations: 0 / 1.447 GB, free: 1.539 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005797/0.6642, allocations: 2.619 MB / 1.45 GB, free: 14.87 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.6655, allocations: 227.3 kB / 1.45 GB, free: 14.66 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/0.7059, allocations: 21.35 MB / 1.471 GB, free: 8.84 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.7074, allocations: 1.109 MB / 1.472 GB, free: 7.691 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008559/0.7083, allocations: 325.5 kB / 1.472 GB, free: 7.371 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007442/0.709, allocations: 0.5266 MB / 1.473 GB, free: 6.844 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/0.709, allocations: 0 / 1.473 GB, free: 6.844 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/0.8202, allocations: 55.92 MB / 1.527 GB, free: 15.36 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.34, allocations: 7.875 kB / 1.527 GB, free: 15.35 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 20.087251401040703]