Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001304/0.001304, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001285/0.001285, allocations: 186 kB / 20.78 MB, free: 1.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.409/1.409, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 75.86 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7941/0.796, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03619/0.8322, allocations: 32.15 MB / 1.303 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.8562, allocations: 13.96 MB / 1.317 GB, free: 8.785 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003516/0.8597, allocations: 140 kB / 1.317 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00936/0.8691, allocations: 3.317 MB / 1.32 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009102/0.8782, allocations: 2.792 MB / 1.323 GB, free: 5.074 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0066/0.8848, allocations: 2.054 MB / 1.325 GB, free: 3.918 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01177/0.8966, allocations: 7.619 MB / 1.332 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007422/0.904, allocations: 4.249 MB / 1.336 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.9108, allocations: 3.467 MB / 1.34 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006972/0.9177, allocations: 3.574 MB / 1.343 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.9191, allocations: 0.5952 MB / 1.344 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.9235, allocations: 1.522 MB / 1.345 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003228/0.9267, allocations: 2.425 MB / 1.348 GB, free: 9.883 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.004476/0.9312, allocations: 2.885 MB / 1.35 GB, free: 8.047 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.9425, allocations: 9.485 MB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9425, allocations: 1.125 kB / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9425, allocations: 0 / 1.36 GB, free: 1.473 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001694/0.9427, allocations: 0 / 1.36 GB, free: 1.473 MB / 1.045 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.0105/0.9532, allocations: 5.269 MB / 1.365 GB, free: 13.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.9532, allocations: 10.41 kB / 1.365 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000931/0.9542, allocations: 0.6167 MB / 1.365 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005944/0.9601, allocations: 1.019 MB / 1.366 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006538/0.9666, allocations: 3.101 MB / 1.369 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.9669, allocations: 318.2 kB / 1.37 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008115/0.9677, allocations: 422.1 kB / 1.37 GB, free: 10.56 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01173/0.9794, allocations: 6.78 MB / 1.377 GB, free: 6.344 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.9795, allocations: 28.23 kB / 1.377 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/0.98, allocations: 184.8 kB / 1.377 GB, free: 6.188 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008706/0.9808, allocations: 373.2 kB / 1.377 GB, free: 6.078 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009138/0.99, allocations: 5.11 MB / 1.382 GB, free: 3.098 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/1.026, allocations: 30.58 MB / 1.412 GB, free: 1.758 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/1.028, allocations: 1.313 MB / 1.413 GB, free: 444 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/1.03, allocations: 1.246 MB / 1.415 GB, free: 15.18 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/1.03, allocations: 13.31 kB / 1.415 GB, free: 15.17 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.253e-05/1.03, allocations: 51.88 kB / 1.415 GB, free: 15.11 MB / 1.108 GB Notification: Performance of pre-optimization done (n=130): time 3.416e-06/1.03, allocations: 4 kB / 1.415 GB, free: 15.11 MB / 1.108 GB Notification: Performance of matching and sorting (n=199): time 0.09305/1.123, allocations: 23.07 MB / 1.437 GB, free: 7.926 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/1.123, allocations: 77.34 kB / 1.437 GB, free: 7.836 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/1.126, allocations: 2.063 MB / 1.439 GB, free: 5.758 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/1.127, allocations: 61.7 kB / 1.439 GB, free: 5.691 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.128, allocations: 2.066 MB / 1.441 GB, free: 3.605 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000736/1.129, allocations: 0.7048 MB / 1.442 GB, free: 2.895 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007941/1.13, allocations: 408.4 kB / 1.443 GB, free: 2.488 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.13, allocations: 305.1 kB / 1.443 GB, free: 2.188 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002357/1.132, allocations: 1.433 MB / 1.444 GB, free: 0.75 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/1.135, allocations: 2.006 MB / 1.446 GB, free: 14.49 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005559/1.141, allocations: 3.696 MB / 1.45 GB, free: 10.56 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.141, allocations: 8 kB / 1.45 GB, free: 10.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01204/1.153, allocations: 5.599 MB / 1.455 GB, free: 4.887 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.153, allocations: 12 kB / 1.455 GB, free: 4.875 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/1.153, allocations: 20.84 kB / 1.455 GB, free: 4.855 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007184/1.16, allocations: 2.091 MB / 1.457 GB, free: 2.707 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.162, allocations: 371.4 kB / 1.458 GB, free: 2.344 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04566/1.207, allocations: 38.46 MB / 1.495 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.21, allocations: 127.9 kB / 1.495 GB, free: 9.223 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.21, allocations: 92 kB / 1.495 GB, free: 9.133 MB / 1.186 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.002794/1.213, allocations: 1.509 MB / 1.497 GB, free: 7.613 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/1.214, allocations: 302.1 kB / 1.497 GB, free: 7.316 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/1.225, allocations: 5.137 MB / 1.502 GB, free: 2.102 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-05/1.225, allocations: 20 kB / 1.502 GB, free: 2.082 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/1.225, allocations: 28 kB / 1.502 GB, free: 2.055 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.225, allocations: 7.969 kB / 1.502 GB, free: 2.047 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/1.244, allocations: 9.606 MB / 1.512 GB, free: 8.234 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.244, allocations: 8 kB / 1.512 GB, free: 8.227 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008827/1.245, allocations: 219.6 kB / 1.512 GB, free: 8.012 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006261/1.251, allocations: 1.838 MB / 1.514 GB, free: 6.117 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.251, allocations: 36 kB / 1.514 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04334/1.295, allocations: 37.48 MB / 1.55 GB, free: 14.07 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/1.295, allocations: 12 kB / 1.55 GB, free: 14.06 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009949/1.305, allocations: 4.859 MB / 1.555 GB, free: 9.043 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.306, allocations: 0.624 MB / 1.556 GB, free: 8.398 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000395/1.307, allocations: 51.94 kB / 1.556 GB, free: 8.348 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.308, allocations: 123.8 kB / 1.556 GB, free: 8.227 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006029/1.309, allocations: 193.6 kB / 1.556 GB, free: 8.035 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.309, allocations: 56 kB / 1.556 GB, free: 7.98 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002142/1.311, allocations: 1.382 MB / 1.557 GB, free: 6.59 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.311, allocations: 0 / 1.557 GB, free: 6.59 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003506/1.314, allocations: 1.043 MB / 1.558 GB, free: 5.547 MB / 1.248 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.01032/1.325, allocations: 5.478 MB / 1.564 GB, free: 15.9 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.336, allocations: 6.018 MB / 1.57 GB, free: 9.652 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.336, allocations: 4 kB / 1.57 GB, free: 9.648 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007389/1.343, allocations: 4.273 MB / 1.574 GB, free: 5.145 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004228/1.348, allocations: 0.9875 MB / 1.575 GB, free: 4.188 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05598/1.404, allocations: 30.76 MB / 1.605 GB, free: 4.367 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004144/1.408, allocations: 3.132 MB / 1.608 GB, free: 1.199 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001764/1.409, allocations: 0.5159 MB / 1.608 GB, free: 0.6797 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/1.412, allocations: 1.675 MB / 1.61 GB, free: 15 MB / 1.311 GB Notification: Performance of SimCode: time 1.363e-06/1.412, allocations: 0 / 1.61 GB, free: 15 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1978/1.609, allocations: 89.35 MB / 1.697 GB, free: 6.684 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.57, allocations: 3.281 kB / 1.697 GB, free: 6.684 MB / 1.389 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.621510394994402]