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.001768/0.001768, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002281/0.002281, allocations: 214.5 kB / 23.04 MB, free: 5.078 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.206/3.206, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_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.002094/0.002094, allocations: 62.25 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02021/0.3729, allocations: 14.6 MB / 1.36 GB, free: 1.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3887, allocations: 9.797 MB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.3899, allocations: 79.25 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004765/0.3947, allocations: 1.739 MB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004435/0.3991, allocations: 1.591 MB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.4011, allocations: 0.7628 MB / 1.373 GB, free: 3.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003628/0.4047, allocations: 2.528 MB / 1.376 GB, free: 1.301 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.4066, allocations: 1.192 MB / 1.377 GB, free: 80 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.4083, allocations: 1.09 MB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.4104, allocations: 1.203 MB / 1.379 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004642/0.4109, allocations: 164 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.4127, allocations: 0.8111 MB / 1.38 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008312/0.4136, allocations: 0.6347 MB / 1.381 GB, free: 12.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.415, allocations: 0.9406 MB / 1.382 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.4188, allocations: 2.771 MB / 1.384 GB, free: 8.441 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4188, allocations: 0 / 1.384 GB, free: 8.441 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4188, allocations: 0 / 1.384 GB, free: 8.441 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.021e-05/0.4188, allocations: 0 / 1.384 GB, free: 8.441 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.00434/0.4232, allocations: 2.116 MB / 1.386 GB, free: 6.285 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4232, allocations: 12.03 kB / 1.386 GB, free: 6.273 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.914e-05/0.4233, allocations: 30.56 kB / 1.386 GB, free: 6.242 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002658/0.4235, allocations: 194.4 kB / 1.387 GB, free: 6.043 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/0.4357, allocations: 2.098 MB / 1.389 GB, free: 3.941 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.439, allocations: 1.212 MB / 1.39 GB, free: 2.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/0.439, allocations: 98.42 kB / 1.39 GB, free: 2.582 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003855/0.4394, allocations: 119.9 kB / 1.39 GB, free: 2.465 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006406/0.4458, allocations: 2.671 MB / 1.393 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.4459, allocations: 7.938 kB / 1.393 GB, free: 15.64 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.4461, allocations: 63.92 kB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006698/0.4467, allocations: 182.1 kB / 1.393 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008794/0.4555, allocations: 2.795 MB / 1.396 GB, free: 12.59 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/0.473, allocations: 10.37 MB / 1.406 GB, free: 1.645 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007432/0.4804, allocations: 2.218 MB / 1.408 GB, free: 15.42 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003436/0.4838, allocations: 1.214 MB / 1.409 GB, free: 14.2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.15e-05/0.4839, allocations: 9 kB / 1.409 GB, free: 14.19 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.426e-05/0.484, allocations: 47.5 kB / 1.409 GB, free: 14.14 MB / 1.107 GB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.484, allocations: 4 kB / 1.409 GB, free: 14.13 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.04852/0.5325, allocations: 12.67 MB / 1.422 GB, free: 1.41 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.5326, allocations: 64.72 kB / 1.422 GB, free: 1.336 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.5345, allocations: 1.117 MB / 1.423 GB, free: 208 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002538/0.5347, allocations: 45.7 kB / 1.423 GB, free: 156 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.5354, allocations: 0.7326 MB / 1.423 GB, free: 15.41 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005758/0.536, allocations: 475.9 kB / 1.424 GB, free: 14.95 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005554/0.5365, allocations: 267.5 kB / 1.424 GB, free: 14.68 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5367, allocations: 361.9 kB / 1.424 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003621/0.5403, allocations: 1.343 MB / 1.426 GB, free: 12.98 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003872/0.5442, allocations: 1.6 MB / 1.427 GB, free: 11.28 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007687/0.5519, allocations: 2.994 MB / 1.43 GB, free: 8.188 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.5519, allocations: 0 / 1.43 GB, free: 8.188 MB / 1.123 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01259/0.5645, allocations: 4.404 MB / 1.435 GB, free: 3.73 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.5645, allocations: 10 kB / 1.435 GB, free: 3.723 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.5645, allocations: 8 kB / 1.435 GB, free: 3.715 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005468/0.57, allocations: 1.427 MB / 1.436 GB, free: 2.246 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.5723, allocations: 443.2 kB / 1.436 GB, free: 1.812 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03154/0.6038, allocations: 25.36 MB / 1.461 GB, free: 6.949 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.6065, allocations: 311.5 kB / 1.461 GB, free: 6.645 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003225/0.6068, allocations: 67.95 kB / 1.462 GB, free: 6.578 MB / 1.154 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.001137/0.608, allocations: 433.4 kB / 1.462 GB, free: 6.145 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/0.6085, allocations: 171 kB / 1.462 GB, free: 5.977 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.6212, allocations: 4.41 MB / 1.466 GB, free: 1.512 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.6212, allocations: 16 kB / 1.466 GB, free: 1.496 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.818e-05/0.6212, allocations: 12 kB / 1.466 GB, free: 1.484 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.6212, allocations: 7.969 kB / 1.466 GB, free: 1.477 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/0.6386, allocations: 6.7 MB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.6387, allocations: 4.031 kB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.6406, allocations: 383.3 kB / 1.473 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00496/0.6456, allocations: 1.306 MB / 1.475 GB, free: 8.887 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.6458, allocations: 47.95 kB / 1.475 GB, free: 8.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/0.6746, allocations: 24.17 MB / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6746, allocations: 7.938 kB / 1.498 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.6863, allocations: 4.156 MB / 1.502 GB, free: 10.92 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.6876, allocations: 386.7 kB / 1.503 GB, free: 10.54 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.6879, allocations: 27.98 kB / 1.503 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.6902, allocations: 311.5 kB / 1.503 GB, free: 10.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/0.6907, allocations: 132.6 kB / 1.503 GB, free: 10.08 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.6908, allocations: 51.97 kB / 1.503 GB, free: 10.03 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001307/0.6921, allocations: 0.7487 MB / 1.504 GB, free: 9.277 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6921, allocations: 4 kB / 1.504 GB, free: 9.273 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002388/0.6945, allocations: 0.5664 MB / 1.505 GB, free: 8.707 MB / 1.201 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.7067, allocations: 4.751 MB / 1.509 GB, free: 3.848 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01218/0.7189, allocations: 4.959 MB / 1.514 GB, free: 14.72 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.7189, allocations: 4 kB / 1.514 GB, free: 14.72 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.007617/0.7265, allocations: 3.425 MB / 1.517 GB, free: 11.12 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.7294, allocations: 0.5588 MB / 1.518 GB, free: 10.58 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04684/0.7762, allocations: 19.33 MB / 1.537 GB, free: 6.797 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.7778, allocations: 1.477 MB / 1.538 GB, free: 5.289 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001512/0.7793, allocations: 425.6 kB / 1.539 GB, free: 4.867 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.7803, allocations: 0.6242 MB / 1.539 GB, free: 4.242 MB / 1.232 GB Notification: Performance of SimCode: time 1.022e-06/0.7803, allocations: 0 / 1.539 GB, free: 4.242 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1552/0.9355, allocations: 53.4 MB / 1.591 GB, free: 15.44 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.17/21.1, allocations: 3.938 kB / 1.591 GB, free: 15.43 MB / 1.295 GB " [Timeout remaining time 279] (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: 28.31280194502324]