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.001634/0.001634, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001715/0.001715, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.794/2.794, allocations: 476.7 MB / 0.7678 GB, free: 9.367 MB / 0.6075 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.002014/0.002014, allocations: 59.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8991/0.9012, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02004/0.9212, allocations: 15 MB / 1.294 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01807/0.9393, allocations: 10.51 MB / 1.304 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.9412, allocations: 81.28 kB / 1.304 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004991/0.9462, allocations: 1.704 MB / 1.306 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008281/0.9545, allocations: 1.862 MB / 1.307 GB, free: 8.113 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.9571, allocations: 0.7515 MB / 1.308 GB, free: 7.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005328/0.9624, allocations: 2.764 MB / 1.311 GB, free: 6.488 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.9646, allocations: 1.123 MB / 1.312 GB, free: 5.934 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.9676, allocations: 1.55 MB / 1.313 GB, free: 5.375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003285/0.9709, allocations: 1.234 MB / 1.315 GB, free: 4.867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007867/0.9716, allocations: 165.2 kB / 1.315 GB, free: 4.863 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003055/0.9747, allocations: 0.801 MB / 1.316 GB, free: 4.633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.9757, allocations: 0.6213 MB / 1.316 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002647/0.9784, allocations: 0.9567 MB / 1.317 GB, free: 3.742 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005923/0.9843, allocations: 2.774 MB / 1.32 GB, free: 2.766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.9843, allocations: 1.188 kB / 1.32 GB, free: 2.766 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9843, allocations: 0 / 1.32 GB, free: 2.766 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.01e-05/0.9844, allocations: 0 / 1.32 GB, free: 2.766 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.005374/0.9898, allocations: 2.23 MB / 1.322 GB, free: 1.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9898, allocations: 9.625 kB / 1.322 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.271e-05/0.9899, allocations: 35.39 kB / 1.322 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002833/0.9902, allocations: 186.4 kB / 1.322 GB, free: 1.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/1.003, allocations: 2.125 MB / 1.324 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/1.007, allocations: 1.311 MB / 1.326 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/1.007, allocations: 89.06 kB / 1.326 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/1.008, allocations: 126.6 kB / 1.326 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006768/1.015, allocations: 2.667 MB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/1.015, allocations: 11.22 kB / 1.328 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/1.015, allocations: 59.09 kB / 1.328 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007544/1.016, allocations: 190.2 kB / 1.329 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008634/1.024, allocations: 2.79 MB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/1.045, allocations: 10.48 MB / 1.342 GB, free: 3.051 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007911/1.053, allocations: 2.255 MB / 1.344 GB, free: 1.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003798/1.056, allocations: 1.208 MB / 1.345 GB, free: 1.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/1.057, allocations: 9.812 kB / 1.345 GB, free: 1.211 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.394e-05/1.057, allocations: 47.88 kB / 1.345 GB, free: 1.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.504e-06/1.057, allocations: 0 / 1.345 GB, free: 1.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.06858/1.125, allocations: 16.45 MB / 1.361 GB, free: 7.156 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/1.125, allocations: 68.72 kB / 1.361 GB, free: 7.074 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/1.127, allocations: 1.176 MB / 1.362 GB, free: 5.887 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002581/1.127, allocations: 49.7 kB / 1.362 GB, free: 5.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/1.128, allocations: 0.7568 MB / 1.363 GB, free: 5.07 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/1.129, allocations: 0.5383 MB / 1.364 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007409/1.13, allocations: 287.5 kB / 1.364 GB, free: 4.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.13, allocations: 305.1 kB / 1.364 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.134, allocations: 1.51 MB / 1.366 GB, free: 2.426 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/1.138, allocations: 1.784 MB / 1.367 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/1.147, allocations: 3.369 MB / 1.371 GB, free: 13.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/1.147, allocations: 4 kB / 1.371 GB, free: 13.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01544/1.162, allocations: 5.215 MB / 1.376 GB, free: 7.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/1.162, allocations: 8 kB / 1.376 GB, free: 7.812 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/1.162, allocations: 4 kB / 1.376 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007822/1.17, allocations: 1.882 MB / 1.378 GB, free: 5.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/1.172, allocations: 419.2 kB / 1.378 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03467/1.207, allocations: 24.16 MB / 1.402 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/1.21, allocations: 307.5 kB / 1.402 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/1.21, allocations: 71.95 kB / 1.402 GB, free: 11.86 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 (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.001004/1.211, allocations: 463.7 kB / 1.402 GB, free: 11.4 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/1.212, allocations: 182.9 kB / 1.403 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/1.227, allocations: 5.249 MB / 1.408 GB, free: 5.918 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/1.227, allocations: 16 kB / 1.408 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.139e-05/1.227, allocations: 16 kB / 1.408 GB, free: 5.887 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/1.227, allocations: 11.97 kB / 1.408 GB, free: 5.875 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.246, allocations: 7.345 MB / 1.415 GB, free: 14.4 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.246, allocations: 7.984 kB / 1.415 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001895/1.248, allocations: 351.7 kB / 1.415 GB, free: 14.05 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006629/1.255, allocations: 1.708 MB / 1.417 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/1.255, allocations: 43.91 kB / 1.417 GB, free: 12.27 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03221/1.287, allocations: 23.32 MB / 1.44 GB, free: 3.848 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.287, allocations: 4.219 kB / 1.44 GB, free: 3.844 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/1.301, allocations: 4.826 MB / 1.445 GB, free: 14.93 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.303, allocations: 0.4958 MB / 1.445 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003143/1.303, allocations: 35.98 kB / 1.445 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002391/1.305, allocations: 315.5 kB / 1.445 GB, free: 14.07 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/1.306, allocations: 152.9 kB / 1.445 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.306, allocations: 59.97 kB / 1.446 GB, free: 13.86 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001208/1.307, allocations: 0.7899 MB / 1.446 GB, free: 13.07 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.307, allocations: 0 / 1.446 GB, free: 13.07 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002463/1.31, allocations: 0.6562 MB / 1.447 GB, free: 12.41 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.01437/1.324, allocations: 5.418 MB / 1.452 GB, free: 6.91 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.337, allocations: 4.913 MB / 1.457 GB, free: 1.887 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.337, allocations: 4 kB / 1.457 GB, free: 1.883 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.008238/1.345, allocations: 3.269 MB / 1.46 GB, free: 14.51 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.348, allocations: 0.5683 MB / 1.461 GB, free: 13.96 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0547/1.403, allocations: 21.77 MB / 1.482 GB, free: 7.688 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/1.405, allocations: 1.564 MB / 1.484 GB, free: 6.086 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001681/1.406, allocations: 386.4 kB / 1.484 GB, free: 5.703 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.407, allocations: 0.6554 MB / 1.485 GB, free: 5.047 MB / 1.17 GB Notification: Performance of SimCode: time 9.81e-07/1.407, allocations: 0 / 1.485 GB, free: 5.047 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1322/1.54, allocations: 59.17 MB / 1.542 GB, free: 10.59 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.04/22.57, allocations: 13.47 kB / 1.542 GB, free: 10.58 MB / 1.232 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: 29.041135457984637]