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.001671/0.001671, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002259/0.002259, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.675/2.675, allocations: 476.8 MB / 0.7715 GB, free: 3.93 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.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001991/0.001991, allocations: 62.61 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3319, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02027/0.3522, allocations: 13.92 MB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01745/0.3696, allocations: 9.952 MB / 1.307 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.3717, allocations: 79.31 kB / 1.307 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004781/0.3765, allocations: 1.675 MB / 1.309 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005739/0.3822, allocations: 1.86 MB / 1.311 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.3843, allocations: 0.7562 MB / 1.312 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.3884, allocations: 2.763 MB / 1.314 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.3902, allocations: 1.211 MB / 1.316 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.3927, allocations: 1.559 MB / 1.317 GB, free: 8.805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.395, allocations: 1.23 MB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.3953, allocations: 164 kB / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.397, allocations: 0.7292 MB / 1.319 GB, free: 6.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007553/0.3978, allocations: 0.623 MB / 1.32 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.3989, allocations: 0.7776 MB / 1.321 GB, free: 5.273 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003982/0.4029, allocations: 2.79 MB / 1.323 GB, free: 2.473 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4029, allocations: 0 / 1.323 GB, free: 2.473 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4029, allocations: 0 / 1.323 GB, free: 2.473 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.829e-05/0.4029, allocations: 0 / 1.323 GB, free: 2.473 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.004339/0.4073, allocations: 2.155 MB / 1.325 GB, free: 284 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4073, allocations: 19.97 kB / 1.325 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.491e-05/0.4074, allocations: 34.52 kB / 1.325 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/0.4076, allocations: 190.4 kB / 1.326 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.4191, allocations: 2.116 MB / 1.328 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003199/0.4223, allocations: 1.232 MB / 1.329 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.4224, allocations: 83.81 kB / 1.329 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003009/0.4227, allocations: 120 kB / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.429, allocations: 3.072 MB / 1.332 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.177e-05/0.429, allocations: 11.89 kB / 1.332 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/0.4292, allocations: 63.91 kB / 1.332 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000642/0.4299, allocations: 190.1 kB / 1.332 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007413/0.4373, allocations: 2.791 MB / 1.335 GB, free: 6.043 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.4524, allocations: 8.335 MB / 1.343 GB, free: 13.53 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/0.459, allocations: 2.187 MB / 1.345 GB, free: 11.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/0.4621, allocations: 1.198 MB / 1.346 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.242e-05/0.4621, allocations: 9 kB / 1.346 GB, free: 10.12 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.6e-05/0.4622, allocations: 47.55 kB / 1.347 GB, free: 10.07 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.456e-06/0.4622, allocations: 0 / 1.347 GB, free: 10.07 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.05905/0.5212, allocations: 15.99 MB / 1.362 GB, free: 10.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.5213, allocations: 72.66 kB / 1.362 GB, free: 9.957 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.523, allocations: 1.172 MB / 1.363 GB, free: 8.773 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.5232, allocations: 49.7 kB / 1.363 GB, free: 8.719 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.5238, allocations: 0.7568 MB / 1.364 GB, free: 7.957 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/0.5244, allocations: 0.5422 MB / 1.365 GB, free: 7.41 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006179/0.525, allocations: 287.5 kB / 1.365 GB, free: 7.121 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5251, allocations: 309.1 kB / 1.365 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003548/0.5287, allocations: 1.503 MB / 1.367 GB, free: 5.312 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.5325, allocations: 1.788 MB / 1.368 GB, free: 3.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007446/0.5399, allocations: 3.369 MB / 1.372 GB, free: 15.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.5399, allocations: 7.938 kB / 1.372 GB, free: 15.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01414/0.5541, allocations: 5.211 MB / 1.377 GB, free: 10.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.5541, allocations: 8 kB / 1.377 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.5541, allocations: 8 kB / 1.377 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007316/0.5614, allocations: 1.874 MB / 1.379 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/0.5634, allocations: 419.2 kB / 1.379 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03397/0.5974, allocations: 23.07 MB / 1.402 GB, free: 416 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.6, allocations: 311.6 kB / 1.402 GB, free: 104 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/0.6003, allocations: 63.97 kB / 1.402 GB, free: 40 kB / 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 (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.00108/0.6014, allocations: 464.4 kB / 1.402 GB, free: 15.58 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/0.6019, allocations: 190.8 kB / 1.403 GB, free: 15.39 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.6161, allocations: 5.249 MB / 1.408 GB, free: 10.09 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6161, allocations: 12 kB / 1.408 GB, free: 10.08 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-05/0.6161, allocations: 20 kB / 1.408 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/0.6161, allocations: 7.969 kB / 1.408 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01748/0.6336, allocations: 6.981 MB / 1.415 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.6336, allocations: 0 / 1.415 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.6353, allocations: 355.7 kB / 1.415 GB, free: 2.609 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006768/0.6421, allocations: 1.701 MB / 1.417 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/0.6424, allocations: 47.95 kB / 1.417 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03137/0.6738, allocations: 22.23 MB / 1.438 GB, free: 9.703 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6738, allocations: 4 kB / 1.438 GB, free: 9.699 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.6867, allocations: 4.826 MB / 1.443 GB, free: 4.785 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.6879, allocations: 430.6 kB / 1.443 GB, free: 4.363 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002834/0.6882, allocations: 35.94 kB / 1.443 GB, free: 4.328 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/0.6902, allocations: 311.5 kB / 1.444 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/0.6908, allocations: 157 kB / 1.444 GB, free: 3.867 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.6909, allocations: 55.95 kB / 1.444 GB, free: 3.812 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001212/0.6921, allocations: 0.786 MB / 1.445 GB, free: 3.027 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6921, allocations: 0 / 1.445 GB, free: 3.027 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002131/0.6943, allocations: 0.6562 MB / 1.445 GB, free: 2.371 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 (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.01323/0.7075, allocations: 5.425 MB / 1.451 GB, free: 12.86 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01136/0.7189, allocations: 4.921 MB / 1.455 GB, free: 7.824 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.7189, allocations: 4 kB / 1.455 GB, free: 7.82 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007463/0.7263, allocations: 3.273 MB / 1.459 GB, free: 4.445 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.7288, allocations: 0.5702 MB / 1.459 GB, free: 3.898 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04865/0.7775, allocations: 21.78 MB / 1.481 GB, free: 13.63 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.7789, allocations: 0.9804 MB / 1.481 GB, free: 12.61 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001569/0.7805, allocations: 390.4 kB / 1.482 GB, free: 12.22 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.7816, allocations: 0.6554 MB / 1.482 GB, free: 11.56 MB / 1.186 GB Notification: Performance of SimCode: time 1.323e-06/0.7816, allocations: 0 / 1.482 GB, free: 11.56 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2047/0.9863, allocations: 63.96 MB / 1.545 GB, free: 12.67 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.27/23.25, allocations: 7.344 kB / 1.545 GB, free: 12.66 MB / 1.248 GB " [Timeout remaining time 277] (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/jenkins1/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: 30.04510021500755]