Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001426/0.001426, allocations: 103.2 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.00147/0.00147, allocations: 210.4 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.131/3.131, allocations: 0.49 GB / 0.7916 GB, free: 33.57 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.00209/0.00209, allocations: 70.34 kB / 1.149 GB, free: 26.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01981/0.3388, allocations: 15 MB / 1.335 GB, free: 4.285 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.3553, allocations: 10.51 MB / 1.346 GB, free: 9.746 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.3573, allocations: 75.31 kB / 1.346 GB, free: 9.672 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004869/0.3621, allocations: 1.72 MB / 1.347 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005687/0.3678, allocations: 1.85 MB / 1.349 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.3699, allocations: 0.7645 MB / 1.35 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003934/0.3738, allocations: 2.758 MB / 1.353 GB, free: 2.566 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.3755, allocations: 1.13 MB / 1.354 GB, free: 1.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.3777, allocations: 1.551 MB / 1.355 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.3795, allocations: 1.226 MB / 1.357 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.3798, allocations: 160 kB / 1.357 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.3813, allocations: 0.8033 MB / 1.357 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000645/0.382, allocations: 0.623 MB / 1.358 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.383, allocations: 0.9522 MB / 1.359 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.3876, allocations: 2.779 MB / 1.362 GB, free: 9.281 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.3876, allocations: 0 / 1.362 GB, free: 9.281 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3876, allocations: 0 / 1.362 GB, free: 9.281 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.348e-05/0.3877, allocations: 0 / 1.362 GB, free: 9.281 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005167/0.3928, allocations: 2.226 MB / 1.364 GB, free: 6.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3929, allocations: 15.98 kB / 1.364 GB, free: 6.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/0.3932, allocations: 194.3 kB / 1.364 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/0.4065, allocations: 2.121 MB / 1.366 GB, free: 4.656 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.4096, allocations: 1.312 MB / 1.367 GB, free: 3.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/0.4097, allocations: 94.67 kB / 1.368 GB, free: 3.195 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002782/0.4099, allocations: 119.9 kB / 1.368 GB, free: 3.078 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006349/0.4163, allocations: 2.667 MB / 1.37 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.4163, allocations: 4 kB / 1.37 GB, free: 264 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.4165, allocations: 55.98 kB / 1.37 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007219/0.4172, allocations: 198.1 kB / 1.37 GB, free: 8 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008539/0.4258, allocations: 2.799 MB / 1.373 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.4439, allocations: 10.46 MB / 1.383 GB, free: 2.152 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.4512, allocations: 2.258 MB / 1.386 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003599/0.4548, allocations: 1.21 MB / 1.387 GB, free: 14.65 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/0.4548, allocations: 9 kB / 1.387 GB, free: 14.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.4549, allocations: 43.56 kB / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 2.885e-06/0.4549, allocations: 0 / 1.387 GB, free: 14.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=153): time 0.06473/0.5196, allocations: 16.45 MB / 1.403 GB, free: 14 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.5198, allocations: 68.72 kB / 1.403 GB, free: 13.92 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.5215, allocations: 1.176 MB / 1.404 GB, free: 12.73 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.5217, allocations: 53.7 kB / 1.404 GB, free: 12.67 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008212/0.5225, allocations: 0.7607 MB / 1.405 GB, free: 11.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005963/0.5231, allocations: 0.5383 MB / 1.405 GB, free: 11.36 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007303/0.5238, allocations: 287.5 kB / 1.406 GB, free: 11.07 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.524, allocations: 305.1 kB / 1.406 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004019/0.528, allocations: 1.514 MB / 1.408 GB, free: 9.258 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/0.5321, allocations: 1.784 MB / 1.409 GB, free: 7.379 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/0.5407, allocations: 3.369 MB / 1.413 GB, free: 3.914 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.5407, allocations: 4 kB / 1.413 GB, free: 3.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01428/0.555, allocations: 5.208 MB / 1.418 GB, free: 14.66 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.555, allocations: 13.39 kB / 1.418 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.555, allocations: 12.09 kB / 1.418 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007218/0.5622, allocations: 1.872 MB / 1.419 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.5642, allocations: 411.3 kB / 1.42 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/0.5972, allocations: 24.15 MB / 1.443 GB, free: 3.074 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.5999, allocations: 307.6 kB / 1.444 GB, free: 2.773 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.6001, allocations: 67.91 kB / 1.444 GB, free: 2.707 MB / 1.139 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.0009328/0.601, allocations: 469.4 kB / 1.444 GB, free: 2.238 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.6014, allocations: 182.9 kB / 1.444 GB, free: 2.059 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/0.6162, allocations: 5.242 MB / 1.45 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.6162, allocations: 20 kB / 1.45 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.122e-05/0.6163, allocations: 23.94 kB / 1.45 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.6163, allocations: 12.38 kB / 1.45 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.6347, allocations: 7.356 MB / 1.457 GB, free: 5.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.6347, allocations: 0 / 1.457 GB, free: 5.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.6365, allocations: 355.3 kB / 1.457 GB, free: 4.883 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006424/0.6429, allocations: 1.709 MB / 1.459 GB, free: 3.156 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.6431, allocations: 43.91 kB / 1.459 GB, free: 3.113 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03175/0.6748, allocations: 23.33 MB / 1.482 GB, free: 10.67 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6748, allocations: 7.922 kB / 1.482 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.6881, allocations: 4.826 MB / 1.486 GB, free: 5.746 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.6892, allocations: 0.4958 MB / 1.487 GB, free: 5.23 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/0.6895, allocations: 28 kB / 1.487 GB, free: 5.203 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/0.6917, allocations: 323.5 kB / 1.487 GB, free: 4.887 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/0.6922, allocations: 149 kB / 1.487 GB, free: 4.738 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.6924, allocations: 55.95 kB / 1.487 GB, free: 4.684 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001196/0.6936, allocations: 0.786 MB / 1.488 GB, free: 3.898 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6936, allocations: 0 / 1.488 GB, free: 3.898 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002128/0.6957, allocations: 0.664 MB / 1.489 GB, free: 3.234 MB / 1.186 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.01385/0.7096, allocations: 5.405 MB / 1.494 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01237/0.7219, allocations: 4.921 MB / 1.499 GB, free: 8.707 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.7219, allocations: 0 / 1.499 GB, free: 8.707 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.007981/0.7299, allocations: 3.269 MB / 1.502 GB, free: 5.34 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.7328, allocations: 0.5613 MB / 1.503 GB, free: 4.797 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05146/0.7843, allocations: 21.77 MB / 1.524 GB, free: 14.53 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.7858, allocations: 1.572 MB / 1.525 GB, free: 12.91 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001481/0.7873, allocations: 394.3 kB / 1.526 GB, free: 12.52 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7883, allocations: 0.6554 MB / 1.526 GB, free: 11.87 MB / 1.232 GB Notification: Performance of SimCode: time 8.62e-07/0.7883, allocations: 0 / 1.526 GB, free: 11.87 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/0.9222, allocations: 59.14 MB / 1.584 GB, free: 1.422 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.34/21.26, allocations: 12.2 kB / 1.584 GB, free: 1.414 MB / 1.279 GB " [Timeout remaining time 279] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 27.913439156021923]