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.001369/0.001369, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001436/0.001436, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.476/1.476, allocations: 230.6 MB / 256 MB, free: 7.777 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.727/2.727, allocations: 476 MB / 0.7699 GB, free: 4.691 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="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: 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.002126/0.002126, allocations: 67.33 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.292, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02083/0.3128, allocations: 13.95 MB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01844/0.3312, allocations: 9.968 MB / 1.306 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.3328, allocations: 91.19 kB / 1.306 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005374/0.3382, allocations: 1.676 MB / 1.308 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.3442, allocations: 1.851 MB / 1.309 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.3465, allocations: 0.7588 MB / 1.31 GB, free: 80 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004646/0.3512, allocations: 2.765 MB / 1.313 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.3536, allocations: 1.192 MB / 1.314 GB, free: 12.08 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.3567, allocations: 1.722 MB / 1.316 GB, free: 10.35 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00223/0.3589, allocations: 1.039 MB / 1.317 GB, free: 9.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.3595, allocations: 160 kB / 1.317 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001972/0.3614, allocations: 0.7252 MB / 1.318 GB, free: 8.426 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3625, allocations: 0.6035 MB / 1.318 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.3643, allocations: 0.7698 MB / 1.319 GB, free: 7.047 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.3686, allocations: 2.763 MB / 1.322 GB, free: 4.273 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3686, allocations: 0 / 1.322 GB, free: 4.273 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3686, allocations: 0 / 1.322 GB, free: 4.273 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.103e-05/0.3687, allocations: 0 / 1.322 GB, free: 4.273 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.004932/0.3737, allocations: 2.143 MB / 1.324 GB, free: 2.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3737, allocations: 12.03 kB / 1.324 GB, free: 2.078 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002533/0.374, allocations: 194.3 kB / 1.324 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0119/0.3858, allocations: 2.121 MB / 1.326 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.3888, allocations: 1.185 MB / 1.327 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.3889, allocations: 86.67 kB / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002696/0.3892, allocations: 123.9 kB / 1.327 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007245/0.3964, allocations: 2.881 MB / 1.33 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.3965, allocations: 11.89 kB / 1.33 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.3967, allocations: 47.98 kB / 1.33 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000754/0.3974, allocations: 202.1 kB / 1.33 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008216/0.4056, allocations: 2.787 MB / 1.333 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.4217, allocations: 8.339 MB / 1.341 GB, free: 15.66 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007248/0.4289, allocations: 2.183 MB / 1.343 GB, free: 13.48 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.4325, allocations: 1.202 MB / 1.345 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 8.027e-05/0.4325, allocations: 9 kB / 1.345 GB, free: 12.26 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.4326, allocations: 47.56 kB / 1.345 GB, free: 12.21 MB / 1.045 GB Notification: Performance of pre-optimization done (n=89): time 3.136e-06/0.4326, allocations: 0 / 1.345 GB, free: 12.21 MB / 1.045 GB Notification: Performance of matching and sorting (n=153): time 0.06297/0.4956, allocations: 15.98 MB / 1.36 GB, free: 12.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.4956, allocations: 72.7 kB / 1.36 GB, free: 12.1 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.4974, allocations: 1.184 MB / 1.361 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.4976, allocations: 53.7 kB / 1.362 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006739/0.4983, allocations: 0.7568 MB / 1.362 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006113/0.4989, allocations: 0.5422 MB / 1.363 GB, free: 9.539 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005915/0.4995, allocations: 291.4 kB / 1.363 GB, free: 9.246 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4997, allocations: 305.1 kB / 1.363 GB, free: 8.945 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/0.5034, allocations: 1.51 MB / 1.365 GB, free: 7.434 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004048/0.5075, allocations: 1.78 MB / 1.367 GB, free: 5.559 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008207/0.5157, allocations: 3.362 MB / 1.37 GB, free: 2.102 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.5157, allocations: 4 kB / 1.37 GB, free: 2.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01473/0.5304, allocations: 5.219 MB / 1.375 GB, free: 12.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.5305, allocations: 8 kB / 1.375 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.5305, allocations: 12.09 kB / 1.375 GB, free: 12.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007166/0.5377, allocations: 1.877 MB / 1.377 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/0.5398, allocations: 407.3 kB / 1.377 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03323/0.573, allocations: 23.06 MB / 1.4 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.5758, allocations: 307.5 kB / 1.4 GB, free: 2.246 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002023/0.576, allocations: 71.91 kB / 1.4 GB, free: 2.176 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.0009908/0.577, allocations: 457.6 kB / 1.401 GB, free: 1.719 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.5774, allocations: 182.9 kB / 1.401 GB, free: 1.539 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01467/0.5921, allocations: 5.257 MB / 1.406 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.5921, allocations: 16 kB / 1.406 GB, free: 12.21 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.593e-05/0.5921, allocations: 20 kB / 1.406 GB, free: 12.2 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/0.5922, allocations: 7.969 kB / 1.406 GB, free: 12.19 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01843/0.6106, allocations: 6.981 MB / 1.413 GB, free: 5.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.6106, allocations: 8.078 kB / 1.413 GB, free: 5.082 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.6123, allocations: 343.4 kB / 1.413 GB, free: 4.746 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006271/0.6186, allocations: 1.708 MB / 1.415 GB, free: 3.016 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.6188, allocations: 43.91 kB / 1.415 GB, free: 2.973 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03139/0.6502, allocations: 22.22 MB / 1.436 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6502, allocations: 8.062 kB / 1.436 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/0.6634, allocations: 4.829 MB / 1.441 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/0.6649, allocations: 426.6 kB / 1.442 GB, free: 6.5 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002852/0.6652, allocations: 36.45 kB / 1.442 GB, free: 6.465 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/0.6675, allocations: 319.4 kB / 1.442 GB, free: 6.152 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005668/0.668, allocations: 160.9 kB / 1.442 GB, free: 5.992 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.6682, allocations: 51.97 kB / 1.442 GB, free: 5.941 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001212/0.6694, allocations: 0.7938 MB / 1.443 GB, free: 5.148 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.6694, allocations: 3.938 kB / 1.443 GB, free: 5.145 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002174/0.6716, allocations: 0.6523 MB / 1.444 GB, free: 4.492 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.01342/0.685, allocations: 5.42 MB / 1.449 GB, free: 14.98 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01208/0.6971, allocations: 4.905 MB / 1.454 GB, free: 9.969 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/0.6971, allocations: 8.125 kB / 1.454 GB, free: 9.961 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.007689/0.7048, allocations: 3.269 MB / 1.457 GB, free: 6.59 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.7073, allocations: 0.5482 MB / 1.457 GB, free: 6.051 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05047/0.7578, allocations: 21.79 MB / 1.479 GB, free: 15.78 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.7592, allocations: 0.9843 MB / 1.48 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001616/0.7608, allocations: 386.4 kB / 1.48 GB, free: 14.37 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.7618, allocations: 0.6593 MB / 1.481 GB, free: 13.71 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.7618, allocations: 0 / 1.481 GB, free: 13.71 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/0.9593, allocations: 63.86 MB / 1.543 GB, free: 14.82 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.48, allocations: 3.984 kB / 1.543 GB, free: 14.82 MB / 1.248 GB " [Timeout remaining time 285] (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: 21.157361809164286]