Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001626/0.001626, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002185/0.002185, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 8.031 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.22/3.22, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",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.001973/0.001973, allocations: 68.12 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04834/0.411, allocations: 39.8 MB / 1.392 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0208/0.4318, allocations: 11.44 MB / 1.403 GB, free: 5.059 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.4356, allocations: 202.6 kB / 1.403 GB, free: 4.859 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01211/0.4477, allocations: 4.568 MB / 1.408 GB, free: 288 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.4545, allocations: 2.328 MB / 1.41 GB, free: 13.94 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006208/0.4607, allocations: 2.256 MB / 1.412 GB, free: 11.69 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.4735, allocations: 9.273 MB / 1.421 GB, free: 2.383 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01439/0.4879, allocations: 6.4 MB / 1.427 GB, free: 11.86 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009061/0.497, allocations: 4.106 MB / 1.431 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009177/0.5061, allocations: 4.751 MB / 1.436 GB, free: 2.98 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.003218/0.5094, allocations: 0.8242 MB / 1.437 GB, free: 2.156 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005639/0.515, allocations: 1.619 MB / 1.438 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.006647/0.5216, allocations: 3.227 MB / 1.442 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01015/0.5318, allocations: 3.661 MB / 1.445 GB, free: 9.625 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.02288/0.5547, allocations: 12.34 MB / 1.457 GB, free: 13.24 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.5547, allocations: 0 / 1.457 GB, free: 13.24 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5547, allocations: 0 / 1.457 GB, free: 13.24 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0005139/0.5552, allocations: 0 / 1.457 GB, free: 13.24 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02108/0.5763, allocations: 6.399 MB / 1.463 GB, free: 6.781 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.5763, allocations: 12.03 kB / 1.463 GB, free: 6.77 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003097/0.5794, allocations: 0.8255 MB / 1.464 GB, free: 5.934 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006635/0.5861, allocations: 1.09 MB / 1.465 GB, free: 4.84 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009493/0.5956, allocations: 3.576 MB / 1.469 GB, free: 1.203 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005029/0.5961, allocations: 419.8 kB / 1.469 GB, free: 0.793 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002228/0.5983, allocations: 0.5433 MB / 1.47 GB, free: 256 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0221/0.6204, allocations: 9.385 MB / 1.479 GB, free: 6.531 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.6205, allocations: 31.77 kB / 1.479 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007617/0.6213, allocations: 244 kB / 1.479 GB, free: 6.262 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006116/0.6219, allocations: 418.9 kB / 1.48 GB, free: 5.852 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.6368, allocations: 7.123 MB / 1.487 GB, free: 14.72 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05297/0.6898, allocations: 40.72 MB / 1.526 GB, free: 2.25 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/0.6945, allocations: 2.905 MB / 1.529 GB, free: 15.34 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/0.6975, allocations: 1.934 MB / 1.531 GB, free: 13.41 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.6976, allocations: 25.98 kB / 1.531 GB, free: 13.38 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.6977, allocations: 60.56 kB / 1.531 GB, free: 13.31 MB / 1.232 GB Notification: Performance of pre-optimization done (n=209): time 5.771e-06/0.6977, allocations: 3.984 kB / 1.531 GB, free: 13.31 MB / 1.232 GB Notification: Performance of matching and sorting (n=212): time 0.02491/0.7226, allocations: 10.29 MB / 1.541 GB, free: 3.004 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.7226, allocations: 73.41 kB / 1.541 GB, free: 2.918 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/0.7258, allocations: 2.006 MB / 1.543 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.7262, allocations: 61.7 kB / 1.543 GB, free: 0.8281 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.7281, allocations: 2.478 MB / 1.546 GB, free: 14.32 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.729, allocations: 0.7668 MB / 1.546 GB, free: 13.55 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008031/0.7298, allocations: 481.5 kB / 1.547 GB, free: 13.07 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.73, allocations: 301.1 kB / 1.547 GB, free: 12.77 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.7321, allocations: 1.376 MB / 1.548 GB, free: 11.39 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/0.7349, allocations: 2.104 MB / 1.551 GB, free: 8.977 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005596/0.7405, allocations: 3.77 MB / 1.554 GB, free: 4.895 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.7405, allocations: 4 kB / 1.554 GB, free: 4.891 MB / 1.248 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009298/0.7498, allocations: 5.027 MB / 1.559 GB, free: 15.84 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.7498, allocations: 12 kB / 1.559 GB, free: 15.83 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/0.7499, allocations: 28 kB / 1.559 GB, free: 15.8 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/0.7536, allocations: 1.587 MB / 1.561 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.7554, allocations: 451.2 kB / 1.561 GB, free: 13.77 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0249/0.7803, allocations: 18.18 MB / 1.579 GB, free: 11.12 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.7825, allocations: 151.9 kB / 1.579 GB, free: 10.98 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.7828, allocations: 108 kB / 1.579 GB, free: 10.87 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003507/0.7863, allocations: 1.933 MB / 1.581 GB, free: 8.926 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006155/0.7869, allocations: 298.2 kB / 1.581 GB, free: 8.633 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007835/0.7948, allocations: 4.408 MB / 1.586 GB, free: 4.195 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.7948, allocations: 24 kB / 1.586 GB, free: 4.172 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-05/0.7948, allocations: 19.98 kB / 1.586 GB, free: 4.152 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.7948, allocations: 11.91 kB / 1.586 GB, free: 4.141 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.8124, allocations: 9.605 MB / 1.595 GB, free: 10.39 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.8124, allocations: 4.562 kB / 1.595 GB, free: 10.39 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.8134, allocations: 243.6 kB / 1.595 GB, free: 10.15 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/0.8169, allocations: 1.415 MB / 1.597 GB, free: 8.723 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.817, allocations: 36 kB / 1.597 GB, free: 8.688 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8184/1.635, allocations: 18.17 MB / 1.614 GB, free: 227.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.635, allocations: 7.281 kB / 1.614 GB, free: 227.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/1.644, allocations: 4.509 MB / 1.619 GB, free: 226.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001789/1.645, allocations: 0.5742 MB / 1.619 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/1.646, allocations: 43.42 kB / 1.619 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/1.647, allocations: 115 kB / 1.62 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/1.648, allocations: 191.1 kB / 1.62 GB, free: 225.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.648, allocations: 59.84 kB / 1.62 GB, free: 225.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002491/1.65, allocations: 1.317 MB / 1.621 GB, free: 225.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/1.65, allocations: 2.406 kB / 1.621 GB, free: 225.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004092/1.654, allocations: 1.142 MB / 1.622 GB, free: 225.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007113/1.661, allocations: 5.113 MB / 1.627 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007368/1.669, allocations: 4.535 MB / 1.632 GB, free: 220.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/1.669, allocations: 3.75 kB / 1.632 GB, free: 220.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00464/1.673, allocations: 2.801 MB / 1.634 GB, free: 219.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/1.678, allocations: 0.9034 MB / 1.635 GB, free: 219.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04903/1.727, allocations: 30.58 MB / 1.665 GB, free: 205 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/1.731, allocations: 3.695 MB / 1.669 GB, free: 203.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002045/1.733, allocations: 0.546 MB / 1.669 GB, free: 202.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.735, allocations: 1.954 MB / 1.671 GB, free: 201 MB / 1.295 GB Notification: Performance of SimCode: time 1.133e-06/1.735, allocations: 4 kB / 1.671 GB, free: 201 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1387/1.873, allocations: 88.2 MB / 1.757 GB, free: 113.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/18.33, allocations: 1.562 kB / 1.757 GB, free: 113.9 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 25.80483935191296]