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.001739/0.001739, allocations: 98.08 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.001909/0.001909, allocations: 219.5 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.058/3.058, allocations: 0.5003 GB / 0.8061 GB, free: 26.81 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.001907/0.001907, allocations: 73.08 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.324, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02721/0.3512, allocations: 23.63 MB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3621, allocations: 6.439 MB / 1.375 GB, free: 2.293 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.3641, allocations: 123.1 kB / 1.375 GB, free: 2.172 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004406/0.3685, allocations: 1.629 MB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004446/0.3729, allocations: 1.723 MB / 1.378 GB, free: 14.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.3767, allocations: 1.384 MB / 1.379 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0079/0.3846, allocations: 5.936 MB / 1.385 GB, free: 7.473 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006578/0.3912, allocations: 3.24 MB / 1.388 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.3955, allocations: 2.477 MB / 1.391 GB, free: 1.66 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004948/0.4004, allocations: 3.065 MB / 1.394 GB, free: 14.59 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.4016, allocations: 460 kB / 1.394 GB, free: 14.14 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.4044, allocations: 1.119 MB / 1.395 GB, free: 13.02 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002946/0.4074, allocations: 2.089 MB / 1.397 GB, free: 10.92 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003065/0.4104, allocations: 2.178 MB / 1.4 GB, free: 8.734 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008528/0.419, allocations: 7.312 MB / 1.407 GB, free: 1.398 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.419, allocations: 0 / 1.407 GB, free: 1.398 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.874e-06/0.419, allocations: 0 / 1.407 GB, free: 1.398 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000188/0.4192, allocations: 0 / 1.407 GB, free: 1.398 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.007555/0.4267, allocations: 3.841 MB / 1.41 GB, free: 13.51 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4268, allocations: 8.031 kB / 1.41 GB, free: 13.5 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.796e-05/0.4269, allocations: 86.61 kB / 1.411 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006654/0.4275, allocations: 0.4976 MB / 1.411 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.4334, allocations: 1.239 MB / 1.412 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.4378, allocations: 2.291 MB / 1.414 GB, free: 9.328 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.438, allocations: 246.3 kB / 1.415 GB, free: 9.086 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005433/0.4386, allocations: 315.9 kB / 1.415 GB, free: 8.777 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009252/0.4478, allocations: 6.212 MB / 1.421 GB, free: 2.309 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/0.4479, allocations: 19.86 kB / 1.421 GB, free: 2.289 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.4482, allocations: 140 kB / 1.421 GB, free: 2.152 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004795/0.4487, allocations: 398.3 kB / 1.422 GB, free: 1.762 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007366/0.4561, allocations: 4.662 MB / 1.426 GB, free: 13.09 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.03307/0.4891, allocations: 28.75 MB / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.4912, allocations: 1.377 MB / 1.456 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.493, allocations: 1.433 MB / 1.457 GB, free: 10.8 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-05/0.4931, allocations: 16.98 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4932, allocations: 43.56 kB / 1.457 GB, free: 10.73 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 2.615e-06/0.4932, allocations: 0 / 1.457 GB, free: 10.73 MB / 1.154 GB Notification: Performance of matching and sorting (n=179): time 0.1439/0.637, allocations: 37.08 MB / 1.493 GB, free: 5.598 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.6371, allocations: 73.41 kB / 1.493 GB, free: 5.516 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.6394, allocations: 1.419 MB / 1.495 GB, free: 4.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/0.6397, allocations: 49.7 kB / 1.495 GB, free: 4.035 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.6409, allocations: 1.59 MB / 1.496 GB, free: 2.43 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007809/0.6416, allocations: 0.6429 MB / 1.497 GB, free: 1.781 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009219/0.6426, allocations: 375.5 kB / 1.497 GB, free: 1.406 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6427, allocations: 313.1 kB / 1.498 GB, free: 1.098 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.6454, allocations: 1.78 MB / 1.499 GB, free: 15.31 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/0.6485, allocations: 2.346 MB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005963/0.6545, allocations: 4.394 MB / 1.506 GB, free: 8.078 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/0.6545, allocations: 7.938 kB / 1.506 GB, free: 8.07 MB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01822/0.6727, allocations: 8.431 MB / 1.514 GB, free: 15.6 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/0.6727, allocations: 16 kB / 1.514 GB, free: 15.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.6728, allocations: 16 kB / 1.514 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/0.688, allocations: 4.634 MB / 1.519 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.6893, allocations: 299.4 kB / 1.519 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04964/0.7389, allocations: 32.03 MB / 1.55 GB, free: 9.906 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.741, allocations: 155.8 kB / 1.55 GB, free: 9.754 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003351/0.7413, allocations: 80 kB / 1.55 GB, free: 9.676 MB / 1.248 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.002305/0.7436, allocations: 1.321 MB / 1.552 GB, free: 8.344 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/0.7442, allocations: 206.7 kB / 1.552 GB, free: 8.141 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/0.7625, allocations: 8.3 MB / 1.56 GB, free: 15.79 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.7625, allocations: 20 kB / 1.56 GB, free: 15.77 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.568e-05/0.7626, allocations: 24 kB / 1.56 GB, free: 15.75 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/0.7626, allocations: 7.969 kB / 1.56 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/0.7896, allocations: 12.68 MB / 1.572 GB, free: 2.891 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.7896, allocations: 4 kB / 1.572 GB, free: 2.887 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.7903, allocations: 171.6 kB / 1.573 GB, free: 2.719 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/0.805, allocations: 4.478 MB / 1.577 GB, free: 14.23 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002419/0.8052, allocations: 40 kB / 1.577 GB, free: 14.19 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6517/1.457, allocations: 31.59 MB / 1.608 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.457, allocations: 13.16 kB / 1.608 GB, free: 241.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/1.475, allocations: 8.103 MB / 1.616 GB, free: 241 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.476, allocations: 0.5565 MB / 1.616 GB, free: 241 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003441/1.477, allocations: 41.48 kB / 1.616 GB, free: 241 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.478, allocations: 134 kB / 1.617 GB, free: 241 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007936/1.479, allocations: 180.3 kB / 1.617 GB, free: 241 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.479, allocations: 55.83 kB / 1.617 GB, free: 241 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001264/1.48, allocations: 0.9583 MB / 1.618 GB, free: 240.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.48, allocations: 0 / 1.618 GB, free: 240.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003799/1.484, allocations: 1.113 MB / 1.619 GB, free: 240.8 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.01768/1.502, allocations: 8.693 MB / 1.627 GB, free: 237.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01179/1.514, allocations: 6.319 MB / 1.633 GB, free: 235.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/1.514, allocations: 1.062 kB / 1.633 GB, free: 235.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009143/1.523, allocations: 4.18 MB / 1.638 GB, free: 233.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.526, allocations: 0.5287 MB / 1.638 GB, free: 233.6 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04769/1.573, allocations: 33.55 MB / 1.671 GB, free: 214.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002275/1.576, allocations: 2.735 MB / 1.673 GB, free: 211.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008917/1.576, allocations: 384.5 kB / 1.674 GB, free: 211.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009513/1.577, allocations: 1.21 MB / 1.675 GB, free: 210 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/1.577, allocations: 0 / 1.675 GB, free: 210 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.695, allocations: 86.61 MB / 1.76 GB, free: 123.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/16.56, allocations: 11.27 kB / 1.76 GB, free: 123.8 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: 23.89557357103331]