Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 110.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8235/0.8255, allocations: 160.7 MB / 1.213 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03911/0.8646, allocations: 31.25 MB / 1.243 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.8889, allocations: 13.7 MB / 1.257 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/0.8933, allocations: 143.2 kB / 1.257 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009935/0.9033, allocations: 3.248 MB / 1.26 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008282/0.9115, allocations: 2.762 MB / 1.263 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005867/0.9174, allocations: 2.017 MB / 1.265 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01278/0.9302, allocations: 7.624 MB / 1.272 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.9416, allocations: 6.144 MB / 1.278 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006765/0.9483, allocations: 3.467 MB / 1.282 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006597/0.9549, allocations: 3.578 MB / 1.285 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002029/0.957, allocations: 0.6015 MB / 1.286 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.9615, allocations: 1.513 MB / 1.287 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004207/0.9657, allocations: 2.42 MB / 1.29 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006488/0.9722, allocations: 2.894 MB / 1.292 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01406/0.9863, allocations: 9.48 MB / 1.302 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.9863, allocations: 0 / 1.302 GB, free: 13.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9863, allocations: 0 / 1.302 GB, free: 13.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002976/0.9866, allocations: 0 / 1.302 GB, free: 13.01 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01421/1.001, allocations: 5.266 MB / 1.307 GB, free: 7.66 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.001, allocations: 12.62 kB / 1.307 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002465/1.003, allocations: 0.6203 MB / 1.307 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007633/1.011, allocations: 1.024 MB / 1.308 GB, free: 5.988 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008797/1.02, allocations: 3.093 MB / 1.311 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003541/1.02, allocations: 316.8 kB / 1.312 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/1.022, allocations: 423.9 kB / 1.312 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01653/1.038, allocations: 6.795 MB / 1.319 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/1.038, allocations: 19.83 kB / 1.319 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/1.039, allocations: 184 kB / 1.319 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008925/1.04, allocations: 368 kB / 1.319 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/1.051, allocations: 5.118 MB / 1.324 GB, free: 5.301 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04318/1.094, allocations: 30.57 MB / 1.354 GB, free: 3.973 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/1.097, allocations: 1.317 MB / 1.355 GB, free: 2.645 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/1.099, allocations: 1.251 MB / 1.357 GB, free: 1.398 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/1.099, allocations: 17.31 kB / 1.357 GB, free: 1.383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.398e-05/1.099, allocations: 47.81 kB / 1.357 GB, free: 1.328 MB / 1.061 GB Notification: Performance of pre-optimization done (n=130): time 3.577e-06/1.099, allocations: 0 / 1.357 GB, free: 1.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=199): time 0.08734/1.186, allocations: 23.07 MB / 1.379 GB, free: 10.14 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/1.186, allocations: 77.41 kB / 1.379 GB, free: 10.05 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003595/1.19, allocations: 2.059 MB / 1.381 GB, free: 7.977 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0003306/1.19, allocations: 57.7 kB / 1.381 GB, free: 7.914 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001649/1.192, allocations: 2.07 MB / 1.383 GB, free: 5.824 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000878/1.193, allocations: 0.7087 MB / 1.384 GB, free: 5.109 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009162/1.194, allocations: 416.4 kB / 1.385 GB, free: 4.695 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.194, allocations: 305.1 kB / 1.385 GB, free: 4.395 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/1.197, allocations: 1.426 MB / 1.386 GB, free: 2.965 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/1.199, allocations: 2.017 MB / 1.388 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005704/1.205, allocations: 3.696 MB / 1.392 GB, free: 12.77 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/1.205, allocations: 4 kB / 1.392 GB, free: 12.76 MB / 1.107 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0121/1.217, allocations: 5.604 MB / 1.397 GB, free: 7.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/1.217, allocations: 14.66 kB / 1.397 GB, free: 7.078 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/1.217, allocations: 16 kB / 1.397 GB, free: 7.062 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007033/1.224, allocations: 2.091 MB / 1.399 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.226, allocations: 379.4 kB / 1.4 GB, free: 4.543 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04418/1.27, allocations: 38.45 MB / 1.437 GB, free: 11.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.273, allocations: 123.9 kB / 1.437 GB, free: 11.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/1.274, allocations: 95.98 kB / 1.437 GB, free: 11.34 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00352/1.277, allocations: 1.508 MB / 1.439 GB, free: 9.82 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008825/1.278, allocations: 298.2 kB / 1.439 GB, free: 9.527 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.289, allocations: 5.137 MB / 1.444 GB, free: 4.316 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.289, allocations: 20 kB / 1.444 GB, free: 4.297 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.192e-05/1.289, allocations: 23.98 kB / 1.444 GB, free: 4.273 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/1.289, allocations: 7.969 kB / 1.444 GB, free: 4.266 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.309, allocations: 9.615 MB / 1.454 GB, free: 10.44 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.309, allocations: 8.125 kB / 1.454 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009563/1.31, allocations: 215.6 kB / 1.454 GB, free: 10.22 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00593/1.316, allocations: 1.834 MB / 1.456 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/1.316, allocations: 40 kB / 1.456 GB, free: 8.293 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04202/1.358, allocations: 37.47 MB / 1.492 GB, free: 304 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.358, allocations: 8 kB / 1.492 GB, free: 296 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/1.368, allocations: 4.863 MB / 1.497 GB, free: 11.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/1.37, allocations: 0.628 MB / 1.498 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/1.37, allocations: 43.89 kB / 1.498 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/1.372, allocations: 131.8 kB / 1.498 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006642/1.372, allocations: 189.6 kB / 1.498 GB, free: 10.26 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.373, allocations: 56 kB / 1.498 GB, free: 10.21 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002229/1.375, allocations: 1.378 MB / 1.499 GB, free: 8.82 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.375, allocations: 4 kB / 1.499 GB, free: 8.816 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00417/1.379, allocations: 1.047 MB / 1.5 GB, free: 7.77 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/1.389, allocations: 5.466 MB / 1.506 GB, free: 2.133 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.401, allocations: 6.014 MB / 1.512 GB, free: 11.89 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/1.401, allocations: 4 kB / 1.512 GB, free: 11.89 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.007441/1.408, allocations: 4.277 MB / 1.516 GB, free: 7.375 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/1.413, allocations: 0.9916 MB / 1.517 GB, free: 6.41 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05894/1.471, allocations: 30.65 MB / 1.547 GB, free: 6.711 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004265/1.476, allocations: 3.121 MB / 1.55 GB, free: 3.555 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001872/1.478, allocations: 0.5276 MB / 1.55 GB, free: 3.023 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002237/1.48, allocations: 1.667 MB / 1.552 GB, free: 1.355 MB / 1.264 GB Notification: Performance of SimCode: time 9.01e-07/1.48, allocations: 0 / 1.552 GB, free: 1.355 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7887/2.269, allocations: 88.7 MB / 1.639 GB, free: 350.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/18.79, allocations: 9.875 kB / 1.639 GB, free: 350.1 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 25.511343503836542]