Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001826/0.001826, 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.002291/0.002291, allocations: 220.8 kB / 23.05 MB, free: 5.07 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.718/2.718, allocations: 476.7 MB / 0.7714 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_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.002112/0.002112, allocations: 64.42 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3041, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01756/0.3217, allocations: 14.6 MB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.3367, allocations: 9.801 MB / 1.308 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3383, allocations: 79.25 kB / 1.308 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004826/0.3431, allocations: 1.738 MB / 1.31 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00525/0.3483, allocations: 1.598 MB / 1.311 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3504, allocations: 0.7616 MB / 1.312 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003544/0.354, allocations: 2.537 MB / 1.315 GB, free: 12.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.3557, allocations: 1.188 MB / 1.316 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.3572, allocations: 1.09 MB / 1.317 GB, free: 10.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.3589, allocations: 1.203 MB / 1.318 GB, free: 8.883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.3592, allocations: 164 kB / 1.318 GB, free: 8.723 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3606, allocations: 0.8072 MB / 1.319 GB, free: 7.914 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006033/0.3613, allocations: 0.6348 MB / 1.319 GB, free: 7.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.3623, allocations: 0.9367 MB / 1.32 GB, free: 6.336 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.3654, allocations: 2.767 MB / 1.323 GB, free: 3.559 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3654, allocations: 0 / 1.323 GB, free: 3.559 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3654, allocations: 3.938 kB / 1.323 GB, free: 3.555 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.408e-05/0.3654, allocations: 0 / 1.323 GB, free: 3.555 MB / 1.014 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.004043/0.3695, allocations: 2.116 MB / 1.325 GB, free: 1.398 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3695, allocations: 12.03 kB / 1.325 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.821e-05/0.3695, allocations: 30.56 kB / 1.325 GB, free: 1.355 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002434/0.3698, allocations: 198.4 kB / 1.325 GB, free: 1.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.3816, allocations: 2.09 MB / 1.327 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.3844, allocations: 1.22 MB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/0.3844, allocations: 94.47 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.3847, allocations: 119.9 kB / 1.329 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/0.3907, allocations: 2.683 MB / 1.331 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.3907, allocations: 3.938 kB / 1.331 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.3909, allocations: 55.98 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006514/0.3916, allocations: 178.1 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007965/0.3995, allocations: 2.799 MB / 1.334 GB, free: 7.703 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.4154, allocations: 10.38 MB / 1.345 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007178/0.4225, allocations: 2.213 MB / 1.347 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/0.4259, allocations: 1.206 MB / 1.348 GB, free: 9.324 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.388e-05/0.426, allocations: 13 kB / 1.348 GB, free: 9.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.4261, allocations: 43.5 kB / 1.348 GB, free: 9.262 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.4261, allocations: 0 / 1.348 GB, free: 9.262 MB / 1.045 GB Notification: Performance of matching and sorting (n=131): time 0.04827/0.4743, allocations: 12.67 MB / 1.36 GB, free: 12.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.4744, allocations: 64.72 kB / 1.36 GB, free: 12.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.4761, allocations: 1.121 MB / 1.361 GB, free: 11.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.4763, allocations: 45.7 kB / 1.362 GB, free: 11.27 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000649/0.477, allocations: 0.7248 MB / 1.362 GB, free: 10.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/0.4776, allocations: 483.8 kB / 1.363 GB, free: 10.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005832/0.4781, allocations: 255.5 kB / 1.363 GB, free: 9.805 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.4783, allocations: 373.8 kB / 1.363 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003735/0.4821, allocations: 1.335 MB / 1.365 GB, free: 8.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/0.4859, allocations: 1.596 MB / 1.366 GB, free: 6.402 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007556/0.4935, allocations: 2.998 MB / 1.369 GB, free: 3.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.4935, allocations: 0 / 1.369 GB, free: 3.309 MB / 1.061 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01307/0.5066, allocations: 4.404 MB / 1.373 GB, free: 14.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.5066, allocations: 8 kB / 1.373 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.5066, allocations: 4 kB / 1.373 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005505/0.5121, allocations: 1.435 MB / 1.375 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.5144, allocations: 439.2 kB / 1.375 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02972/0.5441, allocations: 25.35 MB / 1.4 GB, free: 2.086 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.5467, allocations: 307.5 kB / 1.4 GB, free: 1.785 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.547, allocations: 59.97 kB / 1.4 GB, free: 1.727 MB / 1.092 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.001002/0.548, allocations: 437.5 kB / 1.401 GB, free: 1.289 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.5485, allocations: 170.9 kB / 1.401 GB, free: 1.121 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.5611, allocations: 4.41 MB / 1.405 GB, free: 12.66 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.5612, allocations: 12 kB / 1.405 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/0.5612, allocations: 16.11 kB / 1.405 GB, free: 12.63 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/0.5612, allocations: 7.922 kB / 1.405 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.5777, allocations: 6.704 MB / 1.412 GB, free: 5.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5777, allocations: 0 / 1.412 GB, free: 5.758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/0.5797, allocations: 379.5 kB / 1.412 GB, free: 5.387 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004956/0.5846, allocations: 1.31 MB / 1.413 GB, free: 4.035 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.5848, allocations: 39.97 kB / 1.413 GB, free: 3.996 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02757/0.6124, allocations: 24.17 MB / 1.437 GB, free: 10.33 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.6124, allocations: 12.09 kB / 1.437 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/0.6243, allocations: 4.156 MB / 1.441 GB, free: 6.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.6254, allocations: 394.8 kB / 1.442 GB, free: 5.684 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.6258, allocations: 27.94 kB / 1.442 GB, free: 5.656 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002377/0.6282, allocations: 307.5 kB / 1.442 GB, free: 5.355 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/0.6287, allocations: 140.6 kB / 1.442 GB, free: 5.219 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.6288, allocations: 47.97 kB / 1.442 GB, free: 5.172 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001263/0.6301, allocations: 0.7526 MB / 1.443 GB, free: 4.418 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.6301, allocations: 0 / 1.443 GB, free: 4.418 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002297/0.6324, allocations: 0.5664 MB / 1.443 GB, free: 3.852 MB / 1.139 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.6445, allocations: 4.751 MB / 1.448 GB, free: 15 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0118/0.6563, allocations: 4.978 MB / 1.453 GB, free: 9.848 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.6563, allocations: 0 / 1.453 GB, free: 9.848 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007435/0.6638, allocations: 3.413 MB / 1.456 GB, free: 6.262 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.6667, allocations: 0.5589 MB / 1.457 GB, free: 5.723 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/0.7125, allocations: 19.35 MB / 1.476 GB, free: 1.934 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.7141, allocations: 1.473 MB / 1.477 GB, free: 440 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001606/0.7157, allocations: 421.6 kB / 1.477 GB, free: 12 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.7167, allocations: 0.6359 MB / 1.478 GB, free: 15.38 MB / 1.186 GB Notification: Performance of SimCode: time 8.72e-07/0.7167, allocations: 0 / 1.478 GB, free: 15.38 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.129/0.8457, allocations: 53.39 MB / 1.53 GB, free: 10.62 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.43/21.27, allocations: 14.73 kB / 1.53 GB, free: 10.61 MB / 1.232 GB " [Timeout remaining time 278] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.08941615797812]