Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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.001906/0.001906, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003377/0.003377, allocations: 212.5 kB / 22.24 MB, free: 5.242 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.199/3.199, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002073/0.002073, allocations: 67.77 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01902/0.3499, allocations: 13.31 MB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3657, allocations: 9.147 MB / 1.385 GB, free: 7.516 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.3673, allocations: 83.25 kB / 1.385 GB, free: 7.434 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004966/0.3723, allocations: 1.674 MB / 1.387 GB, free: 5.758 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.3771, allocations: 1.582 MB / 1.389 GB, free: 4.172 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.3791, allocations: 0.7562 MB / 1.389 GB, free: 3.414 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.3829, allocations: 2.527 MB / 1.392 GB, free: 0.8789 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.3848, allocations: 1.172 MB / 1.393 GB, free: 15.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.3867, allocations: 1.207 MB / 1.394 GB, free: 14.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.3883, allocations: 1.066 MB / 1.395 GB, free: 13.39 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.3886, allocations: 160 kB / 1.395 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.3901, allocations: 0.7214 MB / 1.396 GB, free: 12.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006524/0.3907, allocations: 0.6231 MB / 1.397 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008853/0.3916, allocations: 0.7659 MB / 1.397 GB, free: 11.11 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.3948, allocations: 2.759 MB / 1.4 GB, free: 8.344 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3948, allocations: 0 / 1.4 GB, free: 8.344 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3948, allocations: 0 / 1.4 GB, free: 8.344 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.997e-05/0.3949, allocations: 0 / 1.4 GB, free: 8.344 MB / 1.092 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.004099/0.399, allocations: 2.102 MB / 1.402 GB, free: 6.203 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.399, allocations: 12.03 kB / 1.402 GB, free: 6.191 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.3993, allocations: 194.4 kB / 1.402 GB, free: 5.992 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.4111, allocations: 2.09 MB / 1.404 GB, free: 3.898 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/0.4142, allocations: 1.181 MB / 1.405 GB, free: 2.668 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/0.4143, allocations: 94.67 kB / 1.406 GB, free: 2.574 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.4145, allocations: 115.9 kB / 1.406 GB, free: 2.461 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0064/0.4209, allocations: 2.893 MB / 1.409 GB, free: 15.37 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.421, allocations: 15.89 kB / 1.409 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.4211, allocations: 51.98 kB / 1.409 GB, free: 15.3 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006847/0.4218, allocations: 186.1 kB / 1.409 GB, free: 15.12 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008172/0.43, allocations: 2.795 MB / 1.411 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.446, allocations: 8.313 MB / 1.42 GB, free: 3.828 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007362/0.4533, allocations: 2.23 MB / 1.422 GB, free: 1.59 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/0.4568, allocations: 1.217 MB / 1.423 GB, free: 380 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-05/0.4569, allocations: 12.98 kB / 1.423 GB, free: 364 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.4569, allocations: 47.56 kB / 1.423 GB, free: 308 kB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 3.186e-06/0.4569, allocations: 0 / 1.423 GB, free: 308 kB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.05128/0.5082, allocations: 12.65 MB / 1.435 GB, free: 3.609 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/0.5083, allocations: 64.72 kB / 1.435 GB, free: 3.535 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.51, allocations: 1.129 MB / 1.437 GB, free: 2.391 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.5102, allocations: 49.7 kB / 1.437 GB, free: 2.336 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/0.5109, allocations: 0.7365 MB / 1.437 GB, free: 1.594 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005569/0.5115, allocations: 471.9 kB / 1.438 GB, free: 1.129 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005283/0.512, allocations: 263.5 kB / 1.438 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5122, allocations: 361.9 kB / 1.438 GB, free: 0.5039 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/0.5158, allocations: 1.339 MB / 1.44 GB, free: 15.16 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003858/0.5197, allocations: 1.604 MB / 1.441 GB, free: 13.46 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007584/0.5273, allocations: 2.994 MB / 1.444 GB, free: 10.37 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5273, allocations: 4 kB / 1.444 GB, free: 10.37 MB / 1.139 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01267/0.5399, allocations: 4.4 MB / 1.448 GB, free: 5.914 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.54, allocations: 8 kB / 1.448 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.54, allocations: 8 kB / 1.448 GB, free: 5.898 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/0.5457, allocations: 1.431 MB / 1.45 GB, free: 4.426 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/0.5479, allocations: 439.2 kB / 1.45 GB, free: 3.996 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03187/0.5798, allocations: 25.11 MB / 1.475 GB, free: 9.387 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/0.5828, allocations: 303.6 kB / 1.475 GB, free: 9.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.583, allocations: 59.97 kB / 1.475 GB, free: 9.031 MB / 1.17 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001021/0.5841, allocations: 438.5 kB / 1.476 GB, free: 8.594 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.5844, allocations: 171 kB / 1.476 GB, free: 8.426 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/0.597, allocations: 4.402 MB / 1.48 GB, free: 3.969 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.597, allocations: 16 kB / 1.48 GB, free: 3.953 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.833e-05/0.597, allocations: 12 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.597, allocations: 7.969 kB / 1.48 GB, free: 3.934 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.6141, allocations: 6.3 MB / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.6141, allocations: 0 / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.6161, allocations: 383.3 kB / 1.487 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/0.6212, allocations: 1.307 MB / 1.488 GB, free: 11.78 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002369/0.6214, allocations: 43.97 kB / 1.488 GB, free: 11.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02943/0.6509, allocations: 23.97 MB / 1.511 GB, free: 2.27 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.6509, allocations: 4.031 kB / 1.511 GB, free: 2.266 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.6628, allocations: 4.171 MB / 1.515 GB, free: 14 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.6641, allocations: 386.7 kB / 1.516 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.6644, allocations: 24 kB / 1.516 GB, free: 13.6 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.6665, allocations: 303.5 kB / 1.516 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/0.667, allocations: 136.6 kB / 1.516 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.6671, allocations: 51.95 kB / 1.516 GB, free: 13.11 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001174/0.6683, allocations: 0.7526 MB / 1.517 GB, free: 12.36 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6683, allocations: 0 / 1.517 GB, free: 12.36 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001965/0.6702, allocations: 0.5703 MB / 1.518 GB, free: 11.79 MB / 1.217 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01216/0.6824, allocations: 4.751 MB / 1.522 GB, free: 6.934 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01227/0.6947, allocations: 4.962 MB / 1.527 GB, free: 1.805 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.6947, allocations: 4.375 kB / 1.527 GB, free: 1.801 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007493/0.7022, allocations: 3.417 MB / 1.53 GB, free: 14.21 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.7046, allocations: 0.5575 MB / 1.531 GB, free: 13.67 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/0.7484, allocations: 19.34 MB / 1.55 GB, free: 9.879 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.7496, allocations: 0.8873 MB / 1.551 GB, free: 8.957 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001583/0.7512, allocations: 433.5 kB / 1.551 GB, free: 8.527 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.7522, allocations: 0.6281 MB / 1.552 GB, free: 7.902 MB / 1.248 GB Notification: Performance of SimCode: time 9.61e-07/0.7522, allocations: 0 / 1.552 GB, free: 7.902 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/0.9182, allocations: 56.39 MB / 1.607 GB, free: 452 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.2, allocations: 7.859 kB / 1.607 GB, free: 444 kB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 21.75666145607829]