Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008182/0.0008182, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009018/0.0009018, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.852/0.852, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.586/1.586, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.021e-06/1.021e-06, allocations: 0 / 0.9505 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.342e-05/1.444e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01011/0.01013, allocations: 13.73 MB / 0.9639 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008655/0.01878, allocations: 9.83 MB / 0.9735 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005333/0.01932, allocations: 87.19 kB / 0.9736 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.02145, allocations: 1.685 MB / 0.9752 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.02394, allocations: 1.908 MB / 0.9771 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.02499, allocations: 0.7647 MB / 0.9778 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.02682, allocations: 2.834 MB / 0.9806 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.02777, allocations: 1.196 MB / 0.9818 GB, free: 2.164 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.02945, allocations: 2.102 MB / 0.9838 GB, free: 60 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.03047, allocations: 0.9348 MB / 0.9847 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.03066, allocations: 160 kB / 0.9849 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.03172, allocations: 0.7287 MB / 0.9856 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000499/0.03222, allocations: 0.6464 MB / 0.9862 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.03282, allocations: 0.6313 MB / 0.9869 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.03533, allocations: 2.773 MB / 0.9896 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.03534, allocations: 0 / 0.9896 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.843e-06/0.03534, allocations: 0 / 0.9896 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.03536, allocations: 0 / 0.9896 GB, free: 10.17 MB / 0.9011 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.002996/0.03836, allocations: 2.124 MB / 0.9916 GB, free: 8.008 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.03841, allocations: 12.03 kB / 0.9917 GB, free: 7.996 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.03863, allocations: 190.4 kB / 0.9918 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008476/0.04711, allocations: 2.117 MB / 0.9939 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.04842, allocations: 1.193 MB / 0.9951 GB, free: 4.434 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.04847, allocations: 86.69 kB / 0.9952 GB, free: 4.348 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.04863, allocations: 112.4 kB / 0.9953 GB, free: 4.238 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.05175, allocations: 2.893 MB / 0.9981 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.05178, allocations: 7.953 kB / 0.9981 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.05189, allocations: 47.98 kB / 0.9981 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/0.0522, allocations: 202.1 kB / 0.9983 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003906/0.0561, allocations: 2.795 MB / 1.001 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007466/0.06357, allocations: 8.314 MB / 1.009 GB, free: 5.605 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.0669, allocations: 2.179 MB / 1.011 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.06846, allocations: 1.202 MB / 1.012 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-05/0.0685, allocations: 9 kB / 1.012 GB, free: 2.203 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.06853, allocations: 47.56 kB / 1.013 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 2.214e-06/0.06853, allocations: 0 / 1.013 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.424/0.4925, allocations: 15.99 MB / 1.028 GB, free: 70.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4926, allocations: 69.03 kB / 1.028 GB, free: 70.46 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.4937, allocations: 1.183 MB / 1.029 GB, free: 70 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/0.4938, allocations: 51.84 kB / 1.029 GB, free: 69.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.4941, allocations: 0.758 MB / 1.03 GB, free: 69.41 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.4944, allocations: 0.532 MB / 1.031 GB, free: 69.05 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000377/0.4947, allocations: 292.1 kB / 1.031 GB, free: 68.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 2.667e-05/0.4948, allocations: 303 kB / 1.031 GB, free: 68.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002132/0.4969, allocations: 1.508 MB / 1.033 GB, free: 68.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002241/0.4991, allocations: 1.784 MB / 1.034 GB, free: 67.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.5036, allocations: 3.365 MB / 1.038 GB, free: 66.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5036, allocations: 2.5 kB / 1.038 GB, free: 66.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007848/0.5115, allocations: 5.207 MB / 1.043 GB, free: 64.33 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5115, allocations: 12.77 kB / 1.043 GB, free: 64.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5115, allocations: 11.03 kB / 1.043 GB, free: 64.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003728/0.5153, allocations: 1.873 MB / 1.045 GB, free: 63.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.5163, allocations: 417.5 kB / 1.045 GB, free: 63.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.532, allocations: 23.05 MB / 1.068 GB, free: 47.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.5334, allocations: 308.8 kB / 1.068 GB, free: 47.25 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5335, allocations: 65.53 kB / 1.068 GB, free: 47.23 MB / 0.9167 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.0006435/0.5342, allocations: 460 kB / 1.068 GB, free: 46.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5344, allocations: 190.3 kB / 1.069 GB, free: 46.81 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.5414, allocations: 5.255 MB / 1.074 GB, free: 43.75 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5415, allocations: 14.59 kB / 1.074 GB, free: 43.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/0.5415, allocations: 19.25 kB / 1.074 GB, free: 43.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.5415, allocations: 11.91 kB / 1.074 GB, free: 43.74 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008299/0.5498, allocations: 6.971 MB / 1.081 GB, free: 39.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5498, allocations: 4 kB / 1.081 GB, free: 39.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/0.5505, allocations: 347.4 kB / 1.081 GB, free: 39.17 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/0.5535, allocations: 1.701 MB / 1.083 GB, free: 37.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.543e-05/0.5536, allocations: 47.95 kB / 1.083 GB, free: 37.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.567, allocations: 22.21 MB / 1.104 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.567, allocations: 12.09 kB / 1.104 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.5729, allocations: 4.818 MB / 1.109 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.5735, allocations: 426.6 kB / 1.109 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.5736, allocations: 28 kB / 1.109 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/0.5746, allocations: 323.5 kB / 1.11 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.575, allocations: 164.8 kB / 1.11 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.5751, allocations: 59.89 kB / 1.11 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0006088/0.5757, allocations: 0.786 MB / 1.111 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4e-08/0.5757, allocations: 0 / 1.111 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001391/0.5771, allocations: 0.6601 MB / 1.111 GB, free: 6.965 MB / 0.9167 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.005901/0.583, allocations: 5.398 MB / 1.117 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006129/0.5891, allocations: 4.93 MB / 1.121 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5891, allocations: 4.125 kB / 1.121 GB, free: 12.45 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003804/0.5929, allocations: 3.26 MB / 1.125 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.5943, allocations: 0.5655 MB / 1.125 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.6209, allocations: 21.81 MB / 1.146 GB, free: 2.277 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.6217, allocations: 0.9843 MB / 1.147 GB, free: 1.254 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008094/0.6225, allocations: 382.4 kB / 1.148 GB, free: 0.875 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/0.6231, allocations: 0.6565 MB / 1.148 GB, free: 224 kB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/0.6231, allocations: 0 / 1.148 GB, free: 224 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07719/0.7003, allocations: 63.86 MB / 1.211 GB, free: 1.359 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.558, allocations: 11.03 kB / 1.211 GB, free: 1.352 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.344944577664137]