Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001309/0.001309, allocations: 109.2 kB / 18.94 MB, free: 2.949 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: 218.8 kB / 22.26 MB, free: 5.125 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.992 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.081/3.081, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_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.002009/0.002009, allocations: 69.12 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3078, allocations: 176.1 MB / 1.326 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0188/0.3266, allocations: 14.6 MB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.3422, allocations: 9.793 MB / 1.35 GB, free: 9.477 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.3442, allocations: 83.25 kB / 1.35 GB, free: 9.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004832/0.349, allocations: 1.747 MB / 1.352 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004684/0.3537, allocations: 1.589 MB / 1.353 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.3559, allocations: 0.7601 MB / 1.354 GB, free: 5.293 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00378/0.3597, allocations: 2.538 MB / 1.356 GB, free: 2.746 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.3616, allocations: 1.188 MB / 1.357 GB, free: 1.516 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001729/0.3634, allocations: 1.086 MB / 1.359 GB, free: 436 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.3654, allocations: 1.21 MB / 1.36 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.3658, allocations: 172 kB / 1.36 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.3675, allocations: 0.8111 MB / 1.361 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007817/0.3683, allocations: 0.6309 MB / 1.361 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.3697, allocations: 0.9368 MB / 1.362 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.3733, allocations: 2.767 MB / 1.365 GB, free: 9.879 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3733, allocations: 0 / 1.365 GB, free: 9.879 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3733, allocations: 4 kB / 1.365 GB, free: 9.875 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.095e-05/0.3734, allocations: 0 / 1.365 GB, free: 9.875 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.004615/0.378, allocations: 2.112 MB / 1.367 GB, free: 7.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.378, allocations: 8.031 kB / 1.367 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002404/0.3783, allocations: 198.3 kB / 1.367 GB, free: 7.512 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.3893, allocations: 2.102 MB / 1.369 GB, free: 5.406 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.3925, allocations: 1.216 MB / 1.37 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.766e-05/0.3926, allocations: 86.73 kB / 1.37 GB, free: 4.055 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004445/0.393, allocations: 127.9 kB / 1.371 GB, free: 3.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006416/0.3994, allocations: 2.675 MB / 1.373 GB, free: 1.105 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-05/0.3995, allocations: 15.92 kB / 1.373 GB, free: 1.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.3997, allocations: 47.98 kB / 1.373 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005991/0.4003, allocations: 178.1 kB / 1.373 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007574/0.4079, allocations: 2.803 MB / 1.376 GB, free: 14.05 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.4237, allocations: 10.36 MB / 1.386 GB, free: 3.125 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006492/0.4302, allocations: 2.215 MB / 1.388 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.4331, allocations: 1.219 MB / 1.39 GB, free: 15.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.4332, allocations: 9 kB / 1.39 GB, free: 15.67 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.4332, allocations: 39.56 kB / 1.39 GB, free: 15.62 MB / 1.092 GB Notification: Performance of pre-optimization done (n=89): time 3.186e-06/0.4332, allocations: 0 / 1.39 GB, free: 15.62 MB / 1.092 GB Notification: Performance of matching and sorting (n=131): time 0.04371/0.477, allocations: 12.67 MB / 1.402 GB, free: 2.898 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.477, allocations: 68.72 kB / 1.402 GB, free: 2.82 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.4786, allocations: 1.109 MB / 1.403 GB, free: 1.695 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.4787, allocations: 49.7 kB / 1.403 GB, free: 1.641 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005596/0.4793, allocations: 0.7325 MB / 1.404 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004588/0.4797, allocations: 483.8 kB / 1.404 GB, free: 436 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004974/0.4802, allocations: 259.5 kB / 1.405 GB, free: 168 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.4804, allocations: 365.9 kB / 1.405 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.4836, allocations: 1.339 MB / 1.406 GB, free: 14.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003411/0.4871, allocations: 1.596 MB / 1.408 GB, free: 12.77 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006619/0.4937, allocations: 3.002 MB / 1.411 GB, free: 9.668 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4937, allocations: 4 kB / 1.411 GB, free: 9.664 MB / 1.107 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01129/0.505, allocations: 4.396 MB / 1.415 GB, free: 5.215 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.505, allocations: 8 kB / 1.415 GB, free: 5.207 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.505, allocations: 11.94 kB / 1.415 GB, free: 5.195 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/0.5102, allocations: 1.436 MB / 1.417 GB, free: 3.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.5122, allocations: 431.2 kB / 1.417 GB, free: 3.297 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02843/0.5406, allocations: 25.37 MB / 1.442 GB, free: 8.418 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.543, allocations: 307.5 kB / 1.442 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000236/0.5433, allocations: 59.97 kB / 1.442 GB, free: 8.059 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 (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.0008672/0.5441, allocations: 441.5 kB / 1.443 GB, free: 7.617 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/0.5445, allocations: 170.9 kB / 1.443 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.5558, allocations: 4.402 MB / 1.447 GB, free: 2.996 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.5559, allocations: 12 kB / 1.447 GB, free: 2.984 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.059e-05/0.5559, allocations: 12 kB / 1.447 GB, free: 2.973 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.5559, allocations: 7.969 kB / 1.447 GB, free: 2.965 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.571, allocations: 6.7 MB / 1.454 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.571, allocations: 0 / 1.454 GB, free: 12.11 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.5727, allocations: 387.6 kB / 1.454 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004754/0.5775, allocations: 1.306 MB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.5776, allocations: 43.97 kB / 1.455 GB, free: 10.34 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02713/0.6047, allocations: 24.17 MB / 1.479 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6047, allocations: 4 kB / 1.479 GB, free: 0.668 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/0.6159, allocations: 4.168 MB / 1.483 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.6171, allocations: 386.7 kB / 1.483 GB, free: 12.02 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.6174, allocations: 24 kB / 1.483 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002082/0.6195, allocations: 307.5 kB / 1.484 GB, free: 11.7 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/0.6199, allocations: 132.6 kB / 1.484 GB, free: 11.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.6201, allocations: 55.95 kB / 1.484 GB, free: 11.51 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001263/0.6213, allocations: 0.7487 MB / 1.484 GB, free: 10.76 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6213, allocations: 0 / 1.484 GB, free: 10.76 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002151/0.6235, allocations: 0.5664 MB / 1.485 GB, free: 10.2 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 (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.01158/0.6351, allocations: 4.759 MB / 1.49 GB, free: 5.332 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01148/0.6466, allocations: 4.966 MB / 1.495 GB, free: 204 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6466, allocations: 0 / 1.495 GB, free: 204 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.007693/0.6543, allocations: 3.421 MB / 1.498 GB, free: 12.61 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002929/0.6572, allocations: 0.5509 MB / 1.498 GB, free: 12.07 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04457/0.7018, allocations: 19.35 MB / 1.517 GB, free: 8.273 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.7035, allocations: 1.473 MB / 1.519 GB, free: 6.77 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001537/0.705, allocations: 429.6 kB / 1.519 GB, free: 6.344 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/0.706, allocations: 0.6242 MB / 1.52 GB, free: 5.719 MB / 1.217 GB Notification: Performance of SimCode: time 6.51e-07/0.706, allocations: 0 / 1.52 GB, free: 5.719 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/0.9449, allocations: 53.35 MB / 1.572 GB, free: 1.004 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/21.65, allocations: 6.562 kB / 1.572 GB, free: 1 MB / 1.264 GB " [Timeout remaining time 278] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.278608969878405]