Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00176/0.00176, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00208/0.00208, allocations: 218.9 kB / 22.25 MB, free: 5.254 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.773 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.089/3.089, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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: 63.41 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3016, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03948/0.341, allocations: 31.53 MB / 1.357 GB, free: 1.824 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.3601, allocations: 10.28 MB / 1.367 GB, free: 7.516 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/0.3633, allocations: 198.5 kB / 1.367 GB, free: 7.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.3737, allocations: 3.736 MB / 1.371 GB, free: 3.574 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005377/0.3791, allocations: 1.956 MB / 1.372 GB, free: 1.609 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005537/0.3846, allocations: 2.128 MB / 1.375 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009455/0.3941, allocations: 7.323 MB / 1.382 GB, free: 8.137 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009244/0.4033, allocations: 5.15 MB / 1.387 GB, free: 2.863 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.4089, allocations: 3.299 MB / 1.39 GB, free: 15.55 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006206/0.4151, allocations: 3.684 MB / 1.394 GB, free: 11.86 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.4167, allocations: 0.6445 MB / 1.394 GB, free: 11.21 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.4207, allocations: 1.658 MB / 1.396 GB, free: 9.555 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003891/0.4246, allocations: 2.615 MB / 1.398 GB, free: 6.934 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.4295, allocations: 2.342 MB / 1.401 GB, free: 4.582 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.4418, allocations: 10.18 MB / 1.411 GB, free: 10.37 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4419, allocations: 0 / 1.411 GB, free: 10.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4419, allocations: 0 / 1.411 GB, free: 10.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002544/0.4421, allocations: 0 / 1.411 GB, free: 10.37 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0108/0.4529, allocations: 5.057 MB / 1.415 GB, free: 5.254 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.453, allocations: 8.031 kB / 1.415 GB, free: 5.246 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001016/0.454, allocations: 0.6781 MB / 1.416 GB, free: 4.559 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.4592, allocations: 0.9774 MB / 1.417 GB, free: 3.578 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006896/0.4661, allocations: 3.007 MB / 1.42 GB, free: 0.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.4664, allocations: 349.7 kB / 1.42 GB, free: 160 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009123/0.4673, allocations: 456.3 kB / 1.421 GB, free: 15.71 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.4816, allocations: 7.972 MB / 1.429 GB, free: 7.316 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.4817, allocations: 35.75 kB / 1.429 GB, free: 7.281 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005146/0.4822, allocations: 200 kB / 1.429 GB, free: 7.086 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003536/0.4826, allocations: 309 kB / 1.429 GB, free: 6.781 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.4926, allocations: 5.702 MB / 1.435 GB, free: 1.062 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/0.5244, allocations: 22.69 MB / 1.457 GB, free: 9.715 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/0.5271, allocations: 1.55 MB / 1.458 GB, free: 8.156 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.5287, allocations: 1.128 MB / 1.459 GB, free: 7.027 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.851e-05/0.5288, allocations: 17.31 kB / 1.459 GB, free: 7.008 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5288, allocations: 43.88 kB / 1.46 GB, free: 6.957 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 4.008e-06/0.5288, allocations: 0 / 1.46 GB, free: 6.957 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01378/0.5426, allocations: 6.199 MB / 1.466 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.5427, allocations: 80.64 kB / 1.466 GB, free: 0.625 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.5448, allocations: 1.519 MB / 1.467 GB, free: 15.06 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.5449, allocations: 49.7 kB / 1.467 GB, free: 15 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.5463, allocations: 2.069 MB / 1.469 GB, free: 12.91 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/0.5468, allocations: 0.4958 MB / 1.47 GB, free: 12.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005262/0.5474, allocations: 351.4 kB / 1.47 GB, free: 12.06 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5475, allocations: 305.1 kB / 1.47 GB, free: 11.76 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5488, allocations: 0.9096 MB / 1.471 GB, free: 10.85 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001914/0.5507, allocations: 1.589 MB / 1.473 GB, free: 8.953 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003569/0.5543, allocations: 2.741 MB / 1.475 GB, free: 5.898 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.529e-05/0.5543, allocations: 8 kB / 1.475 GB, free: 5.891 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006473/0.5608, allocations: 3.511 MB / 1.479 GB, free: 2.332 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.5608, allocations: 15.94 kB / 1.479 GB, free: 2.316 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.5608, allocations: 28.84 kB / 1.479 GB, free: 2.289 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/0.5636, allocations: 0.8999 MB / 1.48 GB, free: 1.352 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.5648, allocations: 347.4 kB / 1.48 GB, free: 1.012 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/0.587, allocations: 21.73 MB / 1.501 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.5885, allocations: 103.9 kB / 1.501 GB, free: 9.809 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.5887, allocations: 92.05 kB / 1.502 GB, free: 9.719 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002608/0.5913, allocations: 1.61 MB / 1.503 GB, free: 8.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/0.5918, allocations: 218.6 kB / 1.503 GB, free: 7.883 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005568/0.5974, allocations: 2.963 MB / 1.506 GB, free: 4.871 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5974, allocations: 16 kB / 1.506 GB, free: 4.855 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/0.5974, allocations: 8 kB / 1.506 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.5974, allocations: 11.91 kB / 1.506 GB, free: 4.836 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01269/0.6101, allocations: 6.719 MB / 1.513 GB, free: 13.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6101, allocations: 4 kB / 1.513 GB, free: 13.95 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008429/0.611, allocations: 175.8 kB / 1.513 GB, free: 13.78 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.6136, allocations: 0.8217 MB / 1.514 GB, free: 12.92 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.6137, allocations: 24 kB / 1.514 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/0.6351, allocations: 20.6 MB / 1.534 GB, free: 6.926 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.6352, allocations: 12.06 kB / 1.534 GB, free: 6.914 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/0.6408, allocations: 3.014 MB / 1.537 GB, free: 3.781 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.6419, allocations: 398.4 kB / 1.537 GB, free: 3.391 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.6422, allocations: 24.06 kB / 1.537 GB, free: 3.367 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.643, allocations: 75.91 kB / 1.537 GB, free: 3.293 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.6433, allocations: 128.7 kB / 1.537 GB, free: 3.168 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.954e-05/0.6434, allocations: 36 kB / 1.538 GB, free: 3.133 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001351/0.6448, allocations: 0.9756 MB / 1.538 GB, free: 2.133 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6448, allocations: 4 kB / 1.538 GB, free: 2.129 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003005/0.6478, allocations: 0.7852 MB / 1.539 GB, free: 1.344 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008788/0.6566, allocations: 3.601 MB / 1.543 GB, free: 13.63 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009142/0.6657, allocations: 3.921 MB / 1.547 GB, free: 9.547 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.6657, allocations: 4 kB / 1.547 GB, free: 9.543 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003878/0.6696, allocations: 2.667 MB / 1.549 GB, free: 6.723 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/0.6726, allocations: 0.7301 MB / 1.55 GB, free: 6.016 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03618/0.7088, allocations: 22.52 MB / 1.572 GB, free: 14.46 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/0.7123, allocations: 2.569 MB / 1.574 GB, free: 11.87 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001384/0.7137, allocations: 457.9 kB / 1.575 GB, free: 11.42 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001875/0.7155, allocations: 1.534 MB / 1.576 GB, free: 9.883 MB / 1.279 GB Notification: Performance of SimCode: time 7.31e-07/0.7155, allocations: 0 / 1.576 GB, free: 9.883 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7166/1.432, allocations: 66.48 MB / 1.641 GB, free: 251 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/14.4, allocations: 14.84 kB / 1.641 GB, free: 250.9 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.324360841012094]