Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.00119/0.00119, allocations: 105.8 kB / 19.73 MB, free: 2.223 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.001484/0.001484, allocations: 211.5 kB / 23.04 MB, free: 5.062 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.78/2.78, allocations: 476.7 MB / 0.7714 GB, free: 4.254 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.002009/0.002009, allocations: 63.17 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 169.9 MB / 1.284 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01981/0.3209, allocations: 15.36 MB / 1.299 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3381, allocations: 10.76 MB / 1.31 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3396, allocations: 79.25 kB / 1.31 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004939/0.3445, allocations: 1.757 MB / 1.311 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005989/0.3505, allocations: 1.855 MB / 1.313 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.3528, allocations: 0.7639 MB / 1.314 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004833/0.3576, allocations: 2.777 MB / 1.317 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.36, allocations: 1.2 MB / 1.318 GB, free: 9.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.3627, allocations: 1.558 MB / 1.319 GB, free: 7.473 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.3652, allocations: 1.226 MB / 1.321 GB, free: 6.242 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005612/0.3658, allocations: 164 kB / 1.321 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.3677, allocations: 0.8033 MB / 1.322 GB, free: 5.277 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009608/0.3687, allocations: 0.623 MB / 1.322 GB, free: 4.652 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.3705, allocations: 0.9561 MB / 1.323 GB, free: 3.691 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.3753, allocations: 2.767 MB / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3753, allocations: 0 / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3753, allocations: 0 / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001102/0.3754, allocations: 0 / 1.326 GB, free: 0.9141 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005333/0.3807, allocations: 2.159 MB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3808, allocations: 8.031 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.818e-05/0.3808, allocations: 34.52 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003772/0.3812, allocations: 194.4 kB / 1.328 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.3933, allocations: 2.117 MB / 1.33 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.3966, allocations: 1.229 MB / 1.331 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3967, allocations: 89.86 kB / 1.331 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/0.3971, allocations: 119.9 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006865/0.404, allocations: 2.684 MB / 1.334 GB, free: 8.035 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/0.4041, allocations: 3.938 kB / 1.334 GB, free: 8.031 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.4043, allocations: 55.92 kB / 1.334 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007122/0.405, allocations: 194.1 kB / 1.334 GB, free: 7.785 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008482/0.4135, allocations: 2.787 MB / 1.337 GB, free: 4.988 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01791/0.4314, allocations: 10.39 MB / 1.347 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/0.4385, allocations: 2.171 MB / 1.349 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/0.442, allocations: 1.202 MB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.4422, allocations: 13 kB / 1.351 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.853e-05/0.4422, allocations: 43.56 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 5e-06/0.4422, allocations: 4 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.06292/0.5051, allocations: 15.99 MB / 1.366 GB, free: 6.551 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.5052, allocations: 72.66 kB / 1.366 GB, free: 6.465 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.507, allocations: 1.168 MB / 1.367 GB, free: 5.285 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002706/0.5073, allocations: 53.7 kB / 1.368 GB, free: 5.227 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.5079, allocations: 0.7607 MB / 1.368 GB, free: 4.461 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006976/0.5086, allocations: 0.5422 MB / 1.369 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007094/0.5093, allocations: 287.5 kB / 1.369 GB, free: 3.625 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5094, allocations: 301.1 kB / 1.369 GB, free: 3.328 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.5134, allocations: 1.514 MB / 1.371 GB, free: 1.812 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004192/0.5176, allocations: 1.776 MB / 1.373 GB, free: 15.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008312/0.5259, allocations: 3.365 MB / 1.376 GB, free: 12.48 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.5259, allocations: 7.938 kB / 1.376 GB, free: 12.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01542/0.5413, allocations: 5.219 MB / 1.381 GB, free: 7.215 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5413, allocations: 8 kB / 1.381 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.5414, allocations: 8 kB / 1.381 GB, free: 7.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00712/0.5485, allocations: 1.884 MB / 1.383 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.5506, allocations: 411.3 kB / 1.383 GB, free: 4.891 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03276/0.5834, allocations: 23.34 MB / 1.406 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/0.5863, allocations: 303.5 kB / 1.406 GB, free: 12.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.5866, allocations: 63.97 kB / 1.406 GB, free: 12.28 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.5877, allocations: 461.6 kB / 1.407 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004986/0.5882, allocations: 182.9 kB / 1.407 GB, free: 11.64 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01476/0.6029, allocations: 5.253 MB / 1.412 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.603, allocations: 16 kB / 1.412 GB, free: 6.32 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.374e-05/0.603, allocations: 20 kB / 1.412 GB, free: 6.301 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/0.603, allocations: 7.969 kB / 1.412 GB, free: 6.293 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/0.622, allocations: 7.336 MB / 1.419 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.622, allocations: 0 / 1.419 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/0.6238, allocations: 355.7 kB / 1.42 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006199/0.63, allocations: 1.713 MB / 1.421 GB, free: 12.76 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/0.6302, allocations: 43.95 kB / 1.421 GB, free: 12.72 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03006/0.6603, allocations: 22.49 MB / 1.443 GB, free: 5.32 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.6603, allocations: 8.109 kB / 1.443 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.6736, allocations: 4.837 MB / 1.448 GB, free: 396 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.6748, allocations: 430.7 kB / 1.448 GB, free: 15.96 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003097/0.6752, allocations: 28 kB / 1.448 GB, free: 15.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/0.6774, allocations: 319.5 kB / 1.449 GB, free: 15.62 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/0.6779, allocations: 160.9 kB / 1.449 GB, free: 15.46 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/0.6781, allocations: 55.97 kB / 1.449 GB, free: 15.41 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001138/0.6792, allocations: 0.7899 MB / 1.45 GB, free: 14.62 MB / 1.154 GB Notification: Performance of sort global known variables: time 5e-08/0.6792, allocations: 0 / 1.45 GB, free: 14.62 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00213/0.6814, allocations: 0.6562 MB / 1.45 GB, free: 13.96 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01343/0.6948, allocations: 5.41 MB / 1.456 GB, free: 8.461 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.707, allocations: 4.921 MB / 1.461 GB, free: 3.43 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.707, allocations: 0 / 1.461 GB, free: 3.43 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007758/0.7148, allocations: 3.276 MB / 1.464 GB, free: 56 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/0.7176, allocations: 0.5672 MB / 1.464 GB, free: 15.5 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05182/0.7694, allocations: 21.78 MB / 1.486 GB, free: 9.238 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.7711, allocations: 1.564 MB / 1.487 GB, free: 7.633 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001649/0.7728, allocations: 390.4 kB / 1.487 GB, free: 7.246 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/0.7738, allocations: 0.6554 MB / 1.488 GB, free: 6.59 MB / 1.186 GB Notification: Performance of SimCode: time 9.92e-07/0.7738, allocations: 3.938 kB / 1.488 GB, free: 6.586 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1285/0.9022, allocations: 60.8 MB / 1.547 GB, free: 10.46 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.97/22.88, allocations: 2.406 kB / 1.547 GB, free: 10.46 MB / 1.248 GB " [Timeout remaining time 276] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 29.70357682101894]