Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00187/0.00187, allocations: 103.7 kB / 16.45 MB, free: 6.449 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.002172/0.002172, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 9.156 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.286/3.286, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] 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_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002009/0.002009, allocations: 64.52 kB / 1.149 GB, free: 26.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3238, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04063/0.3644, allocations: 33.86 MB / 1.354 GB, free: 1.375 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.3883, allocations: 14.99 MB / 1.369 GB, free: 2.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005593/0.3939, allocations: 206.4 kB / 1.369 GB, free: 2.137 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.4049, allocations: 3.717 MB / 1.372 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008677/0.4135, allocations: 2.989 MB / 1.375 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.4205, allocations: 2.336 MB / 1.378 GB, free: 9.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01229/0.4328, allocations: 8.815 MB / 1.386 GB, free: 232 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/0.4436, allocations: 7.223 MB / 1.393 GB, free: 8.887 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006812/0.4505, allocations: 4.059 MB / 1.397 GB, free: 4.816 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007041/0.4575, allocations: 4.268 MB / 1.401 GB, free: 0.5352 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.4591, allocations: 0.7149 MB / 1.402 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004008/0.4632, allocations: 1.747 MB / 1.404 GB, free: 14.07 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003587/0.4667, allocations: 2.899 MB / 1.407 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004912/0.4717, allocations: 3.392 MB / 1.41 GB, free: 7.758 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/0.4845, allocations: 11.22 MB / 1.421 GB, free: 12.5 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4845, allocations: 0 / 1.421 GB, free: 12.5 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4845, allocations: 4 kB / 1.421 GB, free: 12.5 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002426/0.4848, allocations: 4 kB / 1.421 GB, free: 12.5 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01439/0.4991, allocations: 6.124 MB / 1.427 GB, free: 6.285 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.4992, allocations: 11.98 kB / 1.427 GB, free: 6.273 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00155/0.5007, allocations: 0.727 MB / 1.428 GB, free: 5.535 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006977/0.5077, allocations: 1.168 MB / 1.429 GB, free: 4.363 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007222/0.5149, allocations: 3.542 MB / 1.432 GB, free: 0.7461 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.5153, allocations: 370.4 kB / 1.433 GB, free: 392 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.5165, allocations: 0.4998 MB / 1.433 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01642/0.5329, allocations: 7.997 MB / 1.441 GB, free: 7.605 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.5331, allocations: 27.81 kB / 1.441 GB, free: 7.578 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007642/0.5338, allocations: 216 kB / 1.441 GB, free: 7.367 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001216/0.535, allocations: 433.6 kB / 1.441 GB, free: 6.941 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.5481, allocations: 6.085 MB / 1.447 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/0.5931, allocations: 34.96 MB / 1.482 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.5962, allocations: 1.921 MB / 1.483 GB, free: 8.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002666/0.5988, allocations: 1.748 MB / 1.485 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.5989, allocations: 18 kB / 1.485 GB, free: 7.016 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.599, allocations: 64.5 kB / 1.485 GB, free: 6.945 MB / 1.186 GB Notification: Performance of pre-optimization done (n=171): time 3.497e-06/0.599, allocations: 0 / 1.485 GB, free: 6.945 MB / 1.186 GB Notification: Performance of matching and sorting (n=276): time 0.16/0.759, allocations: 38.85 MB / 1.523 GB, free: 15.99 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.7591, allocations: 81.58 kB / 1.523 GB, free: 15.89 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004066/0.7631, allocations: 2.282 MB / 1.525 GB, free: 13.6 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004933/0.7636, allocations: 73.7 kB / 1.526 GB, free: 13.52 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.7656, allocations: 2.338 MB / 1.528 GB, free: 11.16 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/0.7668, allocations: 0.9799 MB / 1.529 GB, free: 10.18 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.7678, allocations: 0.5103 MB / 1.529 GB, free: 9.656 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.768, allocations: 305.1 kB / 1.53 GB, free: 9.355 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/0.771, allocations: 1.977 MB / 1.531 GB, free: 7.375 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00376/0.7748, allocations: 2.599 MB / 1.534 GB, free: 4.531 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/0.7823, allocations: 4.929 MB / 1.539 GB, free: 15.33 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.7823, allocations: 4 kB / 1.539 GB, free: 15.32 MB / 1.248 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0159/0.7982, allocations: 7.654 MB / 1.546 GB, free: 7.602 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.7983, allocations: 12 kB / 1.546 GB, free: 7.59 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.7983, allocations: 16 kB / 1.546 GB, free: 7.574 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009967/0.8083, allocations: 3.214 MB / 1.549 GB, free: 4.344 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.8101, allocations: 399.3 kB / 1.55 GB, free: 3.953 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04978/0.8599, allocations: 33.92 MB / 1.583 GB, free: 1.184 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.8632, allocations: 163.8 kB / 1.583 GB, free: 1.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/0.8635, allocations: 104 kB / 1.583 GB, free: 0.918 MB / 1.279 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003225/0.8668, allocations: 1.797 MB / 1.585 GB, free: 15.11 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008362/0.8676, allocations: 349.8 kB / 1.585 GB, free: 14.76 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01498/0.8826, allocations: 7.239 MB / 1.592 GB, free: 7.441 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.8826, allocations: 28 kB / 1.592 GB, free: 7.414 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.392e-05/0.8827, allocations: 28 kB / 1.592 GB, free: 7.387 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/0.8828, allocations: 19.89 kB / 1.592 GB, free: 7.367 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.621/1.504, allocations: 12.81 MB / 1.605 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/1.504, allocations: 6.031 kB / 1.605 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.505, allocations: 234.1 kB / 1.605 GB, free: 254.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008483/1.513, allocations: 2.851 MB / 1.608 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003333/1.514, allocations: 52.66 kB / 1.608 GB, free: 254.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04112/1.555, allocations: 32.69 MB / 1.64 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.555, allocations: 11.78 kB / 1.64 GB, free: 236.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.565, allocations: 6.78 MB / 1.647 GB, free: 233.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/1.567, allocations: 0.7938 MB / 1.647 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004916/1.567, allocations: 51.66 kB / 1.647 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.569, allocations: 170.2 kB / 1.648 GB, free: 233.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009163/1.57, allocations: 252.2 kB / 1.648 GB, free: 233.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/1.57, allocations: 79.91 kB / 1.648 GB, free: 233.2 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001816/1.572, allocations: 1.529 MB / 1.649 GB, free: 232.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.572, allocations: 0 / 1.649 GB, free: 232.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003625/1.576, allocations: 1.369 MB / 1.651 GB, free: 232.5 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/1.586, allocations: 7.415 MB / 1.658 GB, free: 229 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009485/1.596, allocations: 6.555 MB / 1.664 GB, free: 225.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.596, allocations: 4 kB / 1.664 GB, free: 225.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006548/1.602, allocations: 4.261 MB / 1.669 GB, free: 222 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004358/1.607, allocations: 1.115 MB / 1.67 GB, free: 221 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/1.659, allocations: 38.95 MB / 1.708 GB, free: 181 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003543/1.662, allocations: 3.643 MB / 1.711 GB, free: 177.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001683/1.664, allocations: 0.5595 MB / 1.712 GB, free: 176.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/1.666, allocations: 1.979 MB / 1.714 GB, free: 174.7 MB / 1.295 GB Notification: Performance of SimCode: time 8.12e-07/1.666, allocations: 0 / 1.714 GB, free: 174.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/1.83, allocations: 112.4 MB / 1.823 GB, free: 63.62 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/18.58, allocations: 4.609 kB / 1.823 GB, free: 63.62 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 26.16369750490412]