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.001711/0.001711, 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.002178/0.002178, allocations: 211 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.75 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.223/3.223, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",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="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.002001/0.002001, allocations: 69.92 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02814/0.3713, allocations: 21.55 MB / 1.384 GB, free: 8.402 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.383, allocations: 6.182 MB / 1.39 GB, free: 2.207 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.3846, allocations: 123.1 kB / 1.391 GB, free: 2.086 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004169/0.3888, allocations: 1.565 MB / 1.392 GB, free: 0.5156 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.3926, allocations: 1.727 MB / 1.394 GB, free: 14.78 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.3959, allocations: 1.358 MB / 1.395 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007235/0.4032, allocations: 5.928 MB / 1.401 GB, free: 7.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004955/0.4081, allocations: 3.197 MB / 1.404 GB, free: 4.195 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.4123, allocations: 2.493 MB / 1.406 GB, free: 1.695 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00516/0.4175, allocations: 2.92 MB / 1.409 GB, free: 14.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009073/0.4184, allocations: 460 kB / 1.41 GB, free: 14.32 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.4208, allocations: 1.03 MB / 1.411 GB, free: 13.29 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002657/0.4234, allocations: 2.089 MB / 1.413 GB, free: 11.19 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.426, allocations: 1.759 MB / 1.415 GB, free: 9.426 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009213/0.4352, allocations: 7.347 MB / 1.422 GB, free: 2.055 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4352, allocations: 0 / 1.422 GB, free: 2.055 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4352, allocations: 0 / 1.422 GB, free: 2.055 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001918/0.4354, allocations: 0 / 1.422 GB, free: 2.055 MB / 1.107 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.0083/0.4437, allocations: 3.841 MB / 1.425 GB, free: 14.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.4438, allocations: 11.97 kB / 1.425 GB, free: 14.15 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00074/0.4445, allocations: 0.5015 MB / 1.426 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006186/0.4507, allocations: 1.235 MB / 1.427 GB, free: 12.4 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005812/0.4565, allocations: 2.301 MB / 1.429 GB, free: 10.05 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.4567, allocations: 242.4 kB / 1.43 GB, free: 9.812 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006425/0.4574, allocations: 315.9 kB / 1.43 GB, free: 9.504 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01177/0.4692, allocations: 6.438 MB / 1.436 GB, free: 2.758 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.15e-05/0.4692, allocations: 15.88 kB / 1.436 GB, free: 2.742 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004343/0.4697, allocations: 139.9 kB / 1.436 GB, free: 2.605 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005511/0.4702, allocations: 410.3 kB / 1.437 GB, free: 2.203 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008878/0.4791, allocations: 4.654 MB / 1.441 GB, free: 13.54 MB / 1.139 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.02829/0.5074, allocations: 18.65 MB / 1.46 GB, free: 10.37 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.5096, allocations: 1.368 MB / 1.461 GB, free: 8.992 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.5117, allocations: 1.452 MB / 1.462 GB, free: 7.539 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.792e-05/0.5118, allocations: 9 kB / 1.462 GB, free: 7.531 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.5118, allocations: 55.44 kB / 1.462 GB, free: 7.469 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/0.5118, allocations: 0 / 1.462 GB, free: 7.469 MB / 1.154 GB Notification: Performance of matching and sorting (n=179): time 0.1472/0.659, allocations: 37.06 MB / 1.499 GB, free: 2.355 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.6591, allocations: 77.34 kB / 1.499 GB, free: 2.266 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.6615, allocations: 1.45 MB / 1.5 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/0.6617, allocations: 53.7 kB / 1.5 GB, free: 0.75 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.663, allocations: 1.587 MB / 1.502 GB, free: 15.14 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/0.6638, allocations: 0.639 MB / 1.502 GB, free: 14.5 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008382/0.6646, allocations: 383.5 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6648, allocations: 301.1 kB / 1.503 GB, free: 13.82 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/0.6676, allocations: 1.784 MB / 1.505 GB, free: 12.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.6711, allocations: 2.35 MB / 1.507 GB, free: 9.434 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006477/0.6776, allocations: 4.391 MB / 1.511 GB, free: 4.805 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/0.6776, allocations: 8 kB / 1.511 GB, free: 4.797 MB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0192/0.6968, allocations: 8.427 MB / 1.519 GB, free: 12.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.6968, allocations: 12 kB / 1.519 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/0.6968, allocations: 20.84 kB / 1.52 GB, free: 12.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01544/0.7123, allocations: 4.613 MB / 1.524 GB, free: 7.676 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7136, allocations: 303.4 kB / 1.524 GB, free: 7.379 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05411/0.7677, allocations: 31.59 MB / 1.555 GB, free: 7.094 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.7699, allocations: 151.8 kB / 1.555 GB, free: 6.945 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.7701, allocations: 83.98 kB / 1.555 GB, free: 6.863 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.002283/0.7724, allocations: 1.329 MB / 1.557 GB, free: 5.523 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/0.7728, allocations: 210.9 kB / 1.557 GB, free: 5.316 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01885/0.7916, allocations: 8.292 MB / 1.565 GB, free: 12.98 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.7916, allocations: 23.94 kB / 1.565 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-05/0.7917, allocations: 31.94 kB / 1.565 GB, free: 12.92 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.7917, allocations: 7.969 kB / 1.565 GB, free: 12.91 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02652/0.8182, allocations: 12.21 MB / 1.577 GB, free: 0.5352 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.8183, allocations: 8 kB / 1.577 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/0.819, allocations: 171.7 kB / 1.577 GB, free: 368 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01538/0.8344, allocations: 4.463 MB / 1.581 GB, free: 11.88 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002963/0.8347, allocations: 36 kB / 1.582 GB, free: 11.84 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7251/1.56, allocations: 31.18 MB / 1.612 GB, free: 224.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.276e-05/1.56, allocations: 8.375 kB / 1.612 GB, free: 224.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02768/1.587, allocations: 8.109 MB / 1.62 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002645/1.59, allocations: 0.5511 MB / 1.62 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006931/1.591, allocations: 36.59 kB / 1.62 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.593, allocations: 136.2 kB / 1.621 GB, free: 223.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001163/1.594, allocations: 183.4 kB / 1.621 GB, free: 223.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002514/1.595, allocations: 57.22 kB / 1.621 GB, free: 223.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002085/1.597, allocations: 0.9559 MB / 1.622 GB, free: 223.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.597, allocations: 0 / 1.622 GB, free: 223.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00631/1.603, allocations: 1.117 MB / 1.623 GB, free: 223 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.02642/1.629, allocations: 8.695 MB / 1.631 GB, free: 219.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01806/1.648, allocations: 6.307 MB / 1.638 GB, free: 217.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/1.648, allocations: 1.219 kB / 1.638 GB, free: 217.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01286/1.66, allocations: 4.192 MB / 1.642 GB, free: 216 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/1.665, allocations: 0.5307 MB / 1.642 GB, free: 215.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07415/1.739, allocations: 33.53 MB / 1.675 GB, free: 197.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/1.743, allocations: 2.166 MB / 1.677 GB, free: 194.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001114/1.744, allocations: 389.6 kB / 1.677 GB, free: 194.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.745, allocations: 1.214 MB / 1.679 GB, free: 193.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.423e-06/1.745, allocations: 0 / 1.679 GB, free: 193.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.871, allocations: 89.91 MB / 1.766 GB, free: 104 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/15.8, allocations: 8 kB / 1.766 GB, free: 104 MB / 1.295 GB " [Timeout remaining time 284] (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: 22.915038054343313]