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.00152/0.00152, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.0017/0.0017, allocations: 209.1 kB / 23.04 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.624/2.624, allocations: 476.7 MB / 0.7715 GB, free: 4.289 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="cs",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="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.001929/0.001929, allocations: 62.72 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2956, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01292/0.3085, allocations: 10.48 MB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005948/0.3145, allocations: 3.181 MB / 1.297 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007183/0.3152, allocations: 43.69 kB / 1.298 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.3171, allocations: 0.7166 MB / 1.298 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.3188, allocations: 0.7234 MB / 1.299 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.3202, allocations: 0.648 MB / 1.3 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002908/0.3231, allocations: 2.742 MB / 1.302 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.3249, allocations: 1.367 MB / 1.304 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.3264, allocations: 1.172 MB / 1.305 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.3284, allocations: 1.488 MB / 1.306 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002828/0.3287, allocations: 220 kB / 1.306 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008941/0.3296, allocations: 0.4915 MB / 1.307 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009522/0.3305, allocations: 1.005 MB / 1.308 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3315, allocations: 1.011 MB / 1.309 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.3349, allocations: 3.415 MB / 1.312 GB, free: 14.97 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3349, allocations: 3.938 kB / 1.312 GB, free: 14.96 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3349, allocations: 0 / 1.312 GB, free: 14.96 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.3349, allocations: 0 / 1.312 GB, free: 14.96 MB / 1.014 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.003573/0.3385, allocations: 1.905 MB / 1.314 GB, free: 13.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3385, allocations: 16.03 kB / 1.314 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.705e-05/0.3386, allocations: 43.12 kB / 1.314 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003118/0.3389, allocations: 248.7 kB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/0.3445, allocations: 0.897 MB / 1.315 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.3467, allocations: 1.12 MB / 1.316 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/0.3468, allocations: 111.3 kB / 1.316 GB, free: 10.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/0.347, allocations: 148.3 kB / 1.317 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.3516, allocations: 3.017 MB / 1.319 GB, free: 7.285 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3516, allocations: 7.891 kB / 1.319 GB, free: 7.277 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.3518, allocations: 63.97 kB / 1.32 GB, free: 7.215 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002363/0.352, allocations: 179 kB / 1.32 GB, free: 7.039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004233/0.3563, allocations: 2.604 MB / 1.322 GB, free: 4.43 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.01598/0.3723, allocations: 13.38 MB / 1.335 GB, free: 5.949 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.3742, allocations: 1.223 MB / 1.337 GB, free: 4.715 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.3755, allocations: 0.9915 MB / 1.338 GB, free: 3.719 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.652e-05/0.3756, allocations: 8.656 kB / 1.338 GB, free: 3.711 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3756, allocations: 39.22 kB / 1.338 GB, free: 3.664 MB / 1.029 GB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.3756, allocations: 0 / 1.338 GB, free: 3.664 MB / 1.029 GB Notification: Performance of matching and sorting (n=139): time 0.07365/0.4493, allocations: 18.88 MB / 1.356 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4493, allocations: 68.72 kB / 1.356 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4505, allocations: 0.9301 MB / 1.357 GB, free: 15.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.4507, allocations: 45.7 kB / 1.357 GB, free: 15.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.4512, allocations: 0.7423 MB / 1.358 GB, free: 14.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004645/0.4517, allocations: 0.5035 MB / 1.358 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005813/0.4523, allocations: 295.5 kB / 1.359 GB, free: 14.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.4524, allocations: 353.9 kB / 1.359 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.4544, allocations: 1.335 MB / 1.36 GB, free: 12.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.4565, allocations: 1.655 MB / 1.362 GB, free: 10.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.4607, allocations: 3.098 MB / 1.365 GB, free: 7.449 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.4607, allocations: 4 kB / 1.365 GB, free: 7.445 MB / 1.061 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01194/0.4726, allocations: 5.551 MB / 1.37 GB, free: 1.867 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.4727, allocations: 14.12 kB / 1.37 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.4727, allocations: 8.656 kB / 1.37 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009145/0.4818, allocations: 2.714 MB / 1.373 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/0.4827, allocations: 191.7 kB / 1.373 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03875/0.5215, allocations: 25.34 MB / 1.398 GB, free: 5.129 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.523, allocations: 100.4 kB / 1.398 GB, free: 5.031 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.5232, allocations: 56 kB / 1.398 GB, free: 4.977 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.001307/0.5245, allocations: 0.7315 MB / 1.399 GB, free: 4.234 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.5249, allocations: 119.2 kB / 1.399 GB, free: 4.117 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.5369, allocations: 5.318 MB / 1.404 GB, free: 14.76 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5369, allocations: 16 kB / 1.404 GB, free: 14.75 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.418e-05/0.5369, allocations: 20 kB / 1.404 GB, free: 14.73 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.537, allocations: 3.984 kB / 1.404 GB, free: 14.72 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01705/0.554, allocations: 8.591 MB / 1.412 GB, free: 6.016 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.554, allocations: 7.938 kB / 1.412 GB, free: 6.008 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.5545, allocations: 123.8 kB / 1.413 GB, free: 5.887 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008734/0.5632, allocations: 2.595 MB / 1.415 GB, free: 3.281 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/0.5634, allocations: 28 kB / 1.415 GB, free: 3.254 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03531/0.5987, allocations: 23.76 MB / 1.438 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5987, allocations: 7.938 kB / 1.438 GB, free: 11.03 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.6099, allocations: 5.183 MB / 1.443 GB, free: 5.77 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.6109, allocations: 427.1 kB / 1.444 GB, free: 5.352 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.6112, allocations: 31.95 kB / 1.444 GB, free: 5.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.6121, allocations: 71.91 kB / 1.444 GB, free: 5.25 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004996/0.6126, allocations: 140.9 kB / 1.444 GB, free: 5.109 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.6127, allocations: 36.19 kB / 1.444 GB, free: 5.074 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009081/0.6137, allocations: 0.6395 MB / 1.445 GB, free: 4.434 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6137, allocations: 7.938 kB / 1.445 GB, free: 4.426 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002262/0.6159, allocations: 0.7188 MB / 1.445 GB, free: 3.707 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.01157/0.6275, allocations: 5.757 MB / 1.451 GB, free: 13.86 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00741/0.6349, allocations: 4.088 MB / 1.455 GB, free: 9.719 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.6349, allocations: 0 / 1.455 GB, free: 9.719 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005437/0.6403, allocations: 2.599 MB / 1.458 GB, free: 7.07 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.6419, allocations: 227.2 kB / 1.458 GB, free: 6.859 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0389/0.6808, allocations: 21.34 MB / 1.479 GB, free: 1.047 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.6827, allocations: 1.708 MB / 1.48 GB, free: 15.3 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007681/0.6835, allocations: 333.4 kB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007538/0.6843, allocations: 0.5344 MB / 1.481 GB, free: 14.44 MB / 1.186 GB Notification: Performance of SimCode: time 8.92e-07/0.6843, allocations: 0 / 1.481 GB, free: 14.44 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1041/0.7884, allocations: 54.64 MB / 1.534 GB, free: 8.145 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.91, allocations: 11.25 kB / 1.534 GB, free: 8.137 MB / 1.233 GB " [Timeout remaining time 285] (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.48838609701488]