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.001745/0.001745, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002182/0.002182, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.811/2.811, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_12_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.003269/0.003269, allocations: 67.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9979/1.001, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01418/1.015, allocations: 14.99 MB / 1.336 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01437/1.03, allocations: 10.51 MB / 1.346 GB, free: 7.281 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/1.032, allocations: 82.25 kB / 1.346 GB, free: 7.234 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004504/1.036, allocations: 1.707 MB / 1.348 GB, free: 6.223 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008951/1.045, allocations: 1.85 MB / 1.35 GB, free: 5.152 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/1.049, allocations: 0.7566 MB / 1.351 GB, free: 4.762 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005616/1.054, allocations: 2.767 MB / 1.353 GB, free: 3.516 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/1.056, allocations: 1.128 MB / 1.354 GB, free: 2.961 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/1.059, allocations: 1.547 MB / 1.356 GB, free: 2.406 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/1.062, allocations: 1.23 MB / 1.357 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004439/1.063, allocations: 160.9 kB / 1.357 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002942/1.066, allocations: 0.8041 MB / 1.358 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001152/1.067, allocations: 0.6262 MB / 1.359 GB, free: 1.363 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002291/1.069, allocations: 0.9519 MB / 1.36 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008547/1.078, allocations: 2.766 MB / 1.362 GB, free: 15.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/1.078, allocations: 1.406 kB / 1.362 GB, free: 15.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.326e-06/1.078, allocations: 0.5625 kB / 1.362 GB, free: 15.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.833e-05/1.078, allocations: 3.938 kB / 1.362 GB, free: 15.8 MB / 1.076 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.007544/1.085, allocations: 2.229 MB / 1.365 GB, free: 14.4 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/1.085, allocations: 17.3 kB / 1.365 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.869e-05/1.085, allocations: 31.02 kB / 1.365 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004828/1.086, allocations: 195 kB / 1.365 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02121/1.107, allocations: 2.118 MB / 1.367 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/1.113, allocations: 1.315 MB / 1.368 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/1.113, allocations: 89.67 kB / 1.368 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005656/1.114, allocations: 119.8 kB / 1.368 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01065/1.124, allocations: 2.669 MB / 1.371 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.887e-05/1.124, allocations: 10.95 kB / 1.371 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003177/1.125, allocations: 54.47 kB / 1.371 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/1.126, allocations: 191.3 kB / 1.371 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/1.138, allocations: 2.792 MB / 1.374 GB, free: 11.45 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/1.158, allocations: 10.48 MB / 1.384 GB, free: 4.219 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007544/1.166, allocations: 2.258 MB / 1.386 GB, free: 3.609 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/1.169, allocations: 1.203 MB / 1.388 GB, free: 3.293 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/1.169, allocations: 10.42 kB / 1.388 GB, free: 3.293 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/1.169, allocations: 56.53 kB / 1.388 GB, free: 3.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=89): time 2.414e-06/1.169, allocations: 0 / 1.388 GB, free: 3.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=153): time 0.07074/1.24, allocations: 16.44 MB / 1.404 GB, free: 12.36 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/1.24, allocations: 67.59 kB / 1.404 GB, free: 12.29 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.243, allocations: 1.185 MB / 1.405 GB, free: 11.64 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006627/1.244, allocations: 52.17 kB / 1.405 GB, free: 11.59 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.245, allocations: 0.7515 MB / 1.406 GB, free: 10.92 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.247, allocations: 0.5399 MB / 1.406 GB, free: 10.45 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/1.248, allocations: 288.4 kB / 1.406 GB, free: 10.29 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.248, allocations: 306.6 kB / 1.407 GB, free: 9.984 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006234/1.255, allocations: 1.506 MB / 1.408 GB, free: 9.203 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006572/1.261, allocations: 1.784 MB / 1.41 GB, free: 8.102 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/1.274, allocations: 3.369 MB / 1.413 GB, free: 6.164 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.086e-05/1.274, allocations: 2.531 kB / 1.413 GB, free: 6.164 MB / 1.092 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02229/1.297, allocations: 5.218 MB / 1.418 GB, free: 3.289 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/1.297, allocations: 8.625 kB / 1.418 GB, free: 3.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/1.297, allocations: 6.812 kB / 1.418 GB, free: 3.289 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007611/1.304, allocations: 1.88 MB / 1.42 GB, free: 2.305 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002249/1.306, allocations: 412.9 kB / 1.421 GB, free: 2.145 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03455/1.341, allocations: 24.16 MB / 1.444 GB, free: 9.691 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/1.344, allocations: 311.4 kB / 1.444 GB, free: 9.387 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/1.345, allocations: 63.97 kB / 1.445 GB, free: 9.324 MB / 1.123 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.00118/1.346, allocations: 463.5 kB / 1.445 GB, free: 8.863 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.346, allocations: 186.9 kB / 1.445 GB, free: 8.68 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/1.361, allocations: 5.253 MB / 1.45 GB, free: 3.375 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/1.361, allocations: 16.08 kB / 1.45 GB, free: 3.359 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-05/1.361, allocations: 20 kB / 1.45 GB, free: 3.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.255e-05/1.361, allocations: 7.969 kB / 1.45 GB, free: 3.332 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.381, allocations: 7.345 MB / 1.457 GB, free: 11.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-05/1.381, allocations: 4.344 kB / 1.458 GB, free: 11.86 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.383, allocations: 355.4 kB / 1.458 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009776/1.393, allocations: 1.709 MB / 1.46 GB, free: 9.777 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004395/1.393, allocations: 47.91 kB / 1.46 GB, free: 9.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04814/1.442, allocations: 23.32 MB / 1.482 GB, free: 1.301 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.442, allocations: 7.938 kB / 1.482 GB, free: 1.293 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/1.463, allocations: 4.833 MB / 1.487 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.465, allocations: 0.4958 MB / 1.488 GB, free: 11.86 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/1.466, allocations: 28 kB / 1.488 GB, free: 11.83 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004141/1.47, allocations: 315.5 kB / 1.488 GB, free: 11.52 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000825/1.471, allocations: 153 kB / 1.488 GB, free: 11.37 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000284/1.471, allocations: 55.97 kB / 1.488 GB, free: 11.31 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001854/1.473, allocations: 0.7899 MB / 1.489 GB, free: 10.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.473, allocations: 0 / 1.489 GB, free: 10.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003791/1.477, allocations: 0.6523 MB / 1.489 GB, free: 9.871 MB / 1.17 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.02126/1.498, allocations: 5.413 MB / 1.495 GB, free: 4.371 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.511, allocations: 4.917 MB / 1.5 GB, free: 15.35 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.511, allocations: 7.938 kB / 1.5 GB, free: 15.34 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008387/1.52, allocations: 3.269 MB / 1.503 GB, free: 11.97 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.523, allocations: 0.5464 MB / 1.503 GB, free: 11.44 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05346/1.576, allocations: 21.78 MB / 1.525 GB, free: 5.16 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.578, allocations: 1.564 MB / 1.526 GB, free: 3.559 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001552/1.58, allocations: 386.4 kB / 1.526 GB, free: 3.176 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.581, allocations: 0.6554 MB / 1.527 GB, free: 2.52 MB / 1.201 GB Notification: Performance of SimCode: time 1.242e-06/1.581, allocations: 0 / 1.527 GB, free: 2.52 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1533/1.734, allocations: 59.19 MB / 1.585 GB, free: 8.047 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.41/23.15, allocations: 4.062 kB / 1.585 GB, free: 8.043 MB / 1.264 GB " [Timeout remaining time 277] (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: 30.03685553802643]