Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001243/0.001243, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001406/0.001406, allocations: 216.7 kB / 23.03 MB, free: 4.922 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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.675/2.675, allocations: 476.8 MB / 0.7715 GB, free: 3.938 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001942/0.001942, allocations: 62.97 kB / 1.118 GB, free: 39.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2974, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03687/0.3343, allocations: 29.24 MB / 1.313 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02222/0.3565, allocations: 13.16 MB / 1.326 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002989/0.3595, allocations: 186.6 kB / 1.326 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008605/0.3681, allocations: 3.212 MB / 1.329 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007753/0.3758, allocations: 2.751 MB / 1.332 GB, free: 9.996 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005223/0.3811, allocations: 2.009 MB / 1.333 GB, free: 7.988 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.3913, allocations: 7.634 MB / 1.341 GB, free: 344 kB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008275/0.3996, allocations: 4.643 MB / 1.345 GB, free: 11.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005961/0.4055, allocations: 3.533 MB / 1.349 GB, free: 8.027 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005963/0.4115, allocations: 3.57 MB / 1.352 GB, free: 4.445 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001414/0.4129, allocations: 0.6015 MB / 1.353 GB, free: 3.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.4162, allocations: 1.404 MB / 1.354 GB, free: 2.438 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003026/0.4192, allocations: 2.428 MB / 1.357 GB, free: 4 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004614/0.4238, allocations: 2.342 MB / 1.359 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.4353, allocations: 9.535 MB / 1.368 GB, free: 4.086 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4353, allocations: 0 / 1.368 GB, free: 4.086 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4353, allocations: 0 / 1.368 GB, free: 4.086 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002256/0.4355, allocations: 0 / 1.368 GB, free: 4.086 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01036/0.4458, allocations: 5.183 MB / 1.373 GB, free: 14.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4459, allocations: 8.031 kB / 1.373 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001255/0.446, allocations: 112.7 kB / 1.374 GB, free: 14.71 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009097/0.4469, allocations: 0.6242 MB / 1.374 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005757/0.4527, allocations: 1.02 MB / 1.375 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/0.4588, allocations: 3.025 MB / 1.378 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.4591, allocations: 320.6 kB / 1.378 GB, free: 9.621 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008005/0.4599, allocations: 415.9 kB / 1.379 GB, free: 9.215 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.4715, allocations: 7.523 MB / 1.386 GB, free: 1.223 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.4717, allocations: 27.83 kB / 1.386 GB, free: 1.195 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004555/0.4721, allocations: 184 kB / 1.386 GB, free: 1.016 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008774/0.473, allocations: 368 kB / 1.387 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009185/0.4822, allocations: 5.114 MB / 1.392 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.5106, allocations: 19.79 MB / 1.411 GB, free: 7.207 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.5127, allocations: 1.309 MB / 1.412 GB, free: 5.891 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/0.5144, allocations: 1.234 MB / 1.413 GB, free: 4.656 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.34e-05/0.5144, allocations: 21.31 kB / 1.414 GB, free: 4.633 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.5145, allocations: 55.8 kB / 1.414 GB, free: 4.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=130): time 3.416e-06/0.5145, allocations: 0 / 1.414 GB, free: 4.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=199): time 0.08577/0.6003, allocations: 22.84 MB / 1.436 GB, free: 13.66 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.6003, allocations: 77.39 kB / 1.436 GB, free: 13.57 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.6033, allocations: 2.062 MB / 1.438 GB, free: 11.49 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/0.6035, allocations: 61.7 kB / 1.438 GB, free: 11.43 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.6051, allocations: 2.055 MB / 1.44 GB, free: 9.352 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006868/0.6058, allocations: 0.7204 MB / 1.441 GB, free: 8.625 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007656/0.6065, allocations: 404.4 kB / 1.441 GB, free: 8.223 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6067, allocations: 309.1 kB / 1.441 GB, free: 7.918 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.6088, allocations: 1.437 MB / 1.443 GB, free: 6.477 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/0.6115, allocations: 2.01 MB / 1.445 GB, free: 4.219 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004988/0.6165, allocations: 3.692 MB / 1.448 GB, free: 292 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.6165, allocations: 4 kB / 1.448 GB, free: 288 kB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01131/0.6278, allocations: 5.604 MB / 1.454 GB, free: 10.61 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.6278, allocations: 12 kB / 1.454 GB, free: 10.59 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.6278, allocations: 20 kB / 1.454 GB, free: 10.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006892/0.6347, allocations: 2.076 MB / 1.456 GB, free: 8.445 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.6363, allocations: 383.4 kB / 1.456 GB, free: 8.07 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04122/0.6775, allocations: 36.28 MB / 1.492 GB, free: 1.723 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.6798, allocations: 123.9 kB / 1.492 GB, free: 1.602 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.68, allocations: 96 kB / 1.492 GB, free: 1.508 MB / 1.186 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002462/0.6825, allocations: 1.504 MB / 1.493 GB, free: 15.99 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005202/0.683, allocations: 306 kB / 1.494 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.6938, allocations: 5.137 MB / 1.499 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.6938, allocations: 20 kB / 1.499 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.273e-05/0.6938, allocations: 16 kB / 1.499 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.122e-05/0.6939, allocations: 11.95 kB / 1.499 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/0.7113, allocations: 9.099 MB / 1.508 GB, free: 1.133 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.7114, allocations: 4.125 kB / 1.508 GB, free: 1.129 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/0.7122, allocations: 215.6 kB / 1.508 GB, free: 0.918 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005984/0.7182, allocations: 1.83 MB / 1.51 GB, free: 15.03 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.7184, allocations: 47.94 kB / 1.51 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03959/0.758, allocations: 35.3 MB / 1.544 GB, free: 9.609 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/0.758, allocations: 8 kB / 1.544 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009717/0.7677, allocations: 4.855 MB / 1.549 GB, free: 4.59 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.7691, allocations: 0.5527 MB / 1.549 GB, free: 4.035 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/0.7695, allocations: 51.88 kB / 1.549 GB, free: 3.984 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.7708, allocations: 127.8 kB / 1.55 GB, free: 3.859 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006313/0.7715, allocations: 197.5 kB / 1.55 GB, free: 3.664 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/0.7716, allocations: 59.98 kB / 1.55 GB, free: 3.605 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001956/0.7736, allocations: 1.374 MB / 1.551 GB, free: 2.223 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7736, allocations: 4 kB / 1.551 GB, free: 2.219 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003082/0.7766, allocations: 1.047 MB / 1.552 GB, free: 1.172 MB / 1.248 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009483/0.7861, allocations: 5.481 MB / 1.558 GB, free: 11.52 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.7962, allocations: 6.011 MB / 1.563 GB, free: 5.285 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/0.7962, allocations: 256 / 1.563 GB, free: 5.285 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00688/0.8031, allocations: 4.276 MB / 1.568 GB, free: 0.7734 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004134/0.8073, allocations: 0.9979 MB / 1.569 GB, free: 15.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05712/0.8644, allocations: 30.75 MB / 1.599 GB, free: 4 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/0.868, allocations: 2.58 MB / 1.601 GB, free: 13.39 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001917/0.8699, allocations: 0.5198 MB / 1.602 GB, free: 12.87 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002137/0.8721, allocations: 1.675 MB / 1.603 GB, free: 11.19 MB / 1.311 GB Notification: Performance of SimCode: time 8.01e-07/0.8721, allocations: 0 / 1.603 GB, free: 11.19 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.787/1.659, allocations: 94.79 MB / 1.696 GB, free: 254.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.71, allocations: 0 / 1.696 GB, free: 254.6 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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: 26.117701980052516]