Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001666/0.001666, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.98 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.126/3.126, allocations: 0.505 GB / 0.8101 GB, free: 22.01 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.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.00202/0.00202, allocations: 71.89 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3529, allocations: 180.2 MB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04422/0.3971, allocations: 36.81 MB / 1.389 GB, free: 3.477 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.4153, allocations: 10.35 MB / 1.399 GB, free: 9.098 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.4183, allocations: 194.6 kB / 1.399 GB, free: 8.906 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.4285, allocations: 3.973 MB / 1.403 GB, free: 4.926 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006011/0.4345, allocations: 2.146 MB / 1.405 GB, free: 2.77 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005845/0.4404, allocations: 2.031 MB / 1.407 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.4513, allocations: 7.964 MB / 1.415 GB, free: 8.746 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.4617, allocations: 5.291 MB / 1.42 GB, free: 3.34 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006516/0.4682, allocations: 3.47 MB / 1.423 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00809/0.4763, allocations: 3.933 MB / 1.427 GB, free: 11.91 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002756/0.4791, allocations: 0.6797 MB / 1.428 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00471/0.4838, allocations: 1.471 MB / 1.429 GB, free: 9.762 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005058/0.4888, allocations: 2.689 MB / 1.432 GB, free: 7.066 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.007509/0.4963, allocations: 3.101 MB / 1.435 GB, free: 3.953 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.5115, allocations: 10.41 MB / 1.445 GB, free: 9.508 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5115, allocations: 0 / 1.445 GB, free: 9.508 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5116, allocations: 0 / 1.445 GB, free: 9.508 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003404/0.5119, allocations: 0 / 1.445 GB, free: 9.508 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01471/0.5266, allocations: 5.463 MB / 1.451 GB, free: 3.984 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.5267, allocations: 11.97 kB / 1.451 GB, free: 3.973 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/0.5289, allocations: 0.7023 MB / 1.451 GB, free: 3.262 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.5348, allocations: 0.9928 MB / 1.452 GB, free: 2.266 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008186/0.543, allocations: 3.132 MB / 1.455 GB, free: 15.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003916/0.5434, allocations: 353.9 kB / 1.456 GB, free: 14.72 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0017/0.5451, allocations: 464.3 kB / 1.456 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/0.5648, allocations: 7.914 MB / 1.464 GB, free: 5.992 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002435/0.5651, allocations: 19.83 kB / 1.464 GB, free: 5.973 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/0.5669, allocations: 212 kB / 1.464 GB, free: 5.766 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006664/0.5676, allocations: 365.1 kB / 1.464 GB, free: 5.406 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/0.5813, allocations: 5.941 MB / 1.47 GB, free: 15.45 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04629/0.6276, allocations: 35.69 MB / 1.505 GB, free: 8.52 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.6315, allocations: 2.009 MB / 1.507 GB, free: 6.488 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/0.6338, allocations: 1.341 MB / 1.508 GB, free: 5.152 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.634, allocations: 13.31 kB / 1.508 GB, free: 5.137 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.634, allocations: 55.81 kB / 1.508 GB, free: 5.074 MB / 1.201 GB Notification: Performance of pre-optimization done (n=157): time 4.248e-06/0.634, allocations: 0 / 1.508 GB, free: 5.074 MB / 1.201 GB Notification: Performance of matching and sorting (n=160): time 0.01564/0.6497, allocations: 6.663 MB / 1.515 GB, free: 14.36 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.6497, allocations: 68.72 kB / 1.515 GB, free: 14.29 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00339/0.6531, allocations: 1.872 MB / 1.517 GB, free: 12.39 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002777/0.6534, allocations: 49.7 kB / 1.517 GB, free: 12.33 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00173/0.6551, allocations: 2.188 MB / 1.519 GB, free: 10.13 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007689/0.6559, allocations: 0.5888 MB / 1.519 GB, free: 9.535 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008703/0.6568, allocations: 400 kB / 1.52 GB, free: 9.137 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6569, allocations: 301.1 kB / 1.52 GB, free: 8.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.6587, allocations: 1.062 MB / 1.521 GB, free: 7.773 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.6612, allocations: 1.764 MB / 1.523 GB, free: 5.688 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004378/0.6656, allocations: 3.045 MB / 1.526 GB, free: 2.332 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.6656, allocations: 12 kB / 1.526 GB, free: 2.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007251/0.6728, allocations: 3.906 MB / 1.53 GB, free: 14.37 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.6729, allocations: 19.98 kB / 1.53 GB, free: 14.35 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.6729, allocations: 24 kB / 1.53 GB, free: 14.32 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002552/0.6755, allocations: 0.9279 MB / 1.531 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.6772, allocations: 423.2 kB / 1.531 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/0.6999, allocations: 21.55 MB / 1.552 GB, free: 6.012 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.7027, allocations: 119.9 kB / 1.552 GB, free: 5.895 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004906/0.7032, allocations: 92 kB / 1.552 GB, free: 5.805 MB / 1.248 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003878/0.7071, allocations: 1.657 MB / 1.554 GB, free: 4.137 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009023/0.708, allocations: 278.4 kB / 1.554 GB, free: 3.863 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006447/0.7144, allocations: 3.232 MB / 1.557 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.7144, allocations: 12 kB / 1.557 GB, free: 0.5664 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.549e-05/0.7145, allocations: 12 kB / 1.557 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.7145, allocations: 7.969 kB / 1.557 GB, free: 0.5469 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/0.7312, allocations: 7.513 MB / 1.565 GB, free: 8.887 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.7313, allocations: 4 kB / 1.565 GB, free: 8.883 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7323, allocations: 215.6 kB / 1.565 GB, free: 8.672 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002507/0.7349, allocations: 0.8965 MB / 1.566 GB, free: 7.738 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.7351, allocations: 28 kB / 1.566 GB, free: 7.711 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/0.758, allocations: 21.52 MB / 1.587 GB, free: 0.8047 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.758, allocations: 7.938 kB / 1.587 GB, free: 0.7969 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.7645, allocations: 3.353 MB / 1.59 GB, free: 13.33 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/0.7661, allocations: 474.2 kB / 1.591 GB, free: 12.86 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/0.7667, allocations: 43.92 kB / 1.591 GB, free: 12.82 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.768, allocations: 91.83 kB / 1.591 GB, free: 12.73 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004298/0.7685, allocations: 152.9 kB / 1.591 GB, free: 12.58 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.7686, allocations: 44 kB / 1.591 GB, free: 12.54 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002233/0.7708, allocations: 1.225 MB / 1.592 GB, free: 11.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7708, allocations: 0 / 1.592 GB, free: 11.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003615/0.7744, allocations: 0.9062 MB / 1.593 GB, free: 10.39 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006671/0.7811, allocations: 3.976 MB / 1.597 GB, free: 6.301 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007359/0.7885, allocations: 4.291 MB / 1.601 GB, free: 1.855 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/0.7885, allocations: 7.906 kB / 1.601 GB, free: 1.848 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.6676/1.456, allocations: 2.887 MB / 1.604 GB, free: 232.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.46, allocations: 0.8386 MB / 1.605 GB, free: 232.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04817/1.508, allocations: 25.24 MB / 1.629 GB, free: 222.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005515/1.514, allocations: 3.206 MB / 1.632 GB, free: 221.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002671/1.517, allocations: 0.5299 MB / 1.633 GB, free: 221.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003071/1.52, allocations: 1.649 MB / 1.635 GB, free: 220.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.513e-06/1.52, allocations: 0 / 1.635 GB, free: 220.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1422/1.662, allocations: 72.6 MB / 1.705 GB, free: 165.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/17.45, allocations: 5.422 kB / 1.705 GB, free: 165.8 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 24.598655880894512]