Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001701/0.001701, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002189/0.002189, allocations: 218.5 kB / 23.04 MB, free: 5.078 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 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.043/3.043, allocations: 0.49 GB / 0.7959 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001928/0.001928, allocations: 69.55 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3136, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04214/0.3558, allocations: 36.67 MB / 1.362 GB, free: 13.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.375, allocations: 11.98 MB / 1.374 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.3778, allocations: 210.4 kB / 1.374 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/0.3888, allocations: 4.453 MB / 1.379 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005616/0.3944, allocations: 2.088 MB / 1.381 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.4008, allocations: 2.466 MB / 1.383 GB, free: 7.922 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.412, allocations: 8.469 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01245/0.4244, allocations: 6.231 MB / 1.398 GB, free: 9.07 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007092/0.4315, allocations: 3.845 MB / 1.401 GB, free: 5.215 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008604/0.4401, allocations: 4.424 MB / 1.406 GB, free: 0.7773 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003972/0.4441, allocations: 0.7812 MB / 1.406 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006706/0.4508, allocations: 2.059 MB / 1.408 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005151/0.4559, allocations: 3.141 MB / 1.411 GB, free: 10.79 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007082/0.463, allocations: 3.4 MB / 1.415 GB, free: 7.371 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01722/0.4802, allocations: 12.01 MB / 1.427 GB, free: 11.32 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4803, allocations: 0 / 1.427 GB, free: 11.32 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4803, allocations: 0 / 1.427 GB, free: 11.32 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004242/0.4807, allocations: 3.938 kB / 1.427 GB, free: 11.32 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01713/0.4978, allocations: 5.867 MB / 1.432 GB, free: 5.387 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.4979, allocations: 12.03 kB / 1.432 GB, free: 5.375 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001918/0.498, allocations: 151.3 kB / 1.432 GB, free: 5.227 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002701/0.5007, allocations: 0.8051 MB / 1.433 GB, free: 4.41 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00707/0.5078, allocations: 1.082 MB / 1.434 GB, free: 3.324 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007734/0.5156, allocations: 3.423 MB / 1.438 GB, free: 15.83 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004224/0.516, allocations: 407.4 kB / 1.438 GB, free: 15.43 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.518, allocations: 0.5471 MB / 1.438 GB, free: 14.89 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.5385, allocations: 9.079 MB / 1.447 GB, free: 5.488 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003027/0.5388, allocations: 23.78 kB / 1.447 GB, free: 5.465 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001664/0.5405, allocations: 236 kB / 1.448 GB, free: 5.234 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004567/0.5409, allocations: 358.6 kB / 1.448 GB, free: 4.883 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.5559, allocations: 6.826 MB / 1.455 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0518/0.6077, allocations: 39.51 MB / 1.493 GB, free: 2.816 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00384/0.6115, allocations: 2.303 MB / 1.495 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/0.6143, allocations: 1.759 MB / 1.497 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.6145, allocations: 33.91 kB / 1.497 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.6145, allocations: 52.56 kB / 1.497 GB, free: 14.67 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 3.767e-06/0.6145, allocations: 0 / 1.497 GB, free: 14.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.02756/0.6421, allocations: 9.682 MB / 1.507 GB, free: 4.973 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.6422, allocations: 77.34 kB / 1.507 GB, free: 4.883 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.6449, allocations: 1.523 MB / 1.508 GB, free: 3.316 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.6451, allocations: 57.7 kB / 1.508 GB, free: 3.254 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.6468, allocations: 2.331 MB / 1.511 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000803/0.6476, allocations: 0.6661 MB / 1.511 GB, free: 232 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007968/0.6484, allocations: 412.1 kB / 1.512 GB, free: 15.82 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6486, allocations: 305.1 kB / 1.512 GB, free: 15.52 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.6503, allocations: 1.179 MB / 1.513 GB, free: 14.33 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.6527, allocations: 1.877 MB / 1.515 GB, free: 12.13 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/0.6571, allocations: 3.375 MB / 1.518 GB, free: 8.449 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.157e-05/0.6571, allocations: 4 kB / 1.518 GB, free: 8.445 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00805/0.6652, allocations: 4.535 MB / 1.523 GB, free: 3.887 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.6652, allocations: 12 kB / 1.523 GB, free: 3.875 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.6652, allocations: 24 kB / 1.523 GB, free: 3.852 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003827/0.6691, allocations: 1.587 MB / 1.524 GB, free: 2.258 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.6704, allocations: 347.4 kB / 1.525 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02481/0.6952, allocations: 18.21 MB / 1.542 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.6969, allocations: 115.9 kB / 1.542 GB, free: 15.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/0.6973, allocations: 99.98 kB / 1.543 GB, free: 15.04 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00365/0.701, allocations: 1.887 MB / 1.544 GB, free: 13.14 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006854/0.7017, allocations: 234.6 kB / 1.545 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007612/0.7093, allocations: 4.047 MB / 1.549 GB, free: 8.836 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.7093, allocations: 16 kB / 1.549 GB, free: 8.82 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.361e-05/0.7093, allocations: 16 kB / 1.549 GB, free: 8.805 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.509e-05/0.7094, allocations: 15.89 kB / 1.549 GB, free: 8.789 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.7275, allocations: 9.402 MB / 1.558 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.7275, allocations: 4 kB / 1.558 GB, free: 15.14 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/0.7284, allocations: 180.3 kB / 1.558 GB, free: 14.96 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.7319, allocations: 1.364 MB / 1.559 GB, free: 13.59 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.7321, allocations: 32 kB / 1.559 GB, free: 13.55 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/0.756, allocations: 16.96 MB / 1.576 GB, free: 12.14 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.756, allocations: 8 kB / 1.576 GB, free: 12.13 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00795/0.764, allocations: 4.028 MB / 1.58 GB, free: 8.012 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.7654, allocations: 474.5 kB / 1.58 GB, free: 7.547 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005399/0.766, allocations: 40 kB / 1.58 GB, free: 7.508 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7672, allocations: 91.89 kB / 1.58 GB, free: 7.418 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/0.7677, allocations: 165.6 kB / 1.581 GB, free: 7.254 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/0.7679, allocations: 51.98 kB / 1.581 GB, free: 7.203 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001814/0.7697, allocations: 1.001 MB / 1.582 GB, free: 6.18 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7697, allocations: 0 / 1.582 GB, free: 6.18 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003734/0.7734, allocations: 0.9921 MB / 1.583 GB, free: 5.188 MB / 1.279 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 (85): * Single equations (assignments): 81 * 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,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007907/0.7814, allocations: 4.643 MB / 1.587 GB, free: 456 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007854/0.7892, allocations: 4.159 MB / 1.591 GB, free: 12.23 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.7892, allocations: 8.312 kB / 1.591 GB, free: 12.22 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005105/0.7943, allocations: 2.579 MB / 1.594 GB, free: 9.598 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/0.7993, allocations: 0.7831 MB / 1.594 GB, free: 8.844 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6426/1.442, allocations: 27.01 MB / 1.621 GB, free: 249.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004307/1.446, allocations: 3.572 MB / 1.624 GB, free: 247.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001339/1.448, allocations: 462.9 kB / 1.625 GB, free: 247.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/1.449, allocations: 1.785 MB / 1.627 GB, free: 246.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.21e-07/1.449, allocations: 1.219 kB / 1.627 GB, free: 246.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.565, allocations: 76.55 MB / 1.701 GB, free: 189.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.36, allocations: 4.062 kB / 1.701 GB, free: 189.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 23.975105670979246]