Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001653/0.001653, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001852/0.001852, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.349/1.349, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.967/2.967, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.001845/0.001845, allocations: 66.34 kB / 1.171 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3107, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03891/0.3497, allocations: 33.72 MB / 1.378 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.3678, allocations: 11.52 MB / 1.389 GB, free: 2.582 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.3706, allocations: 210.4 kB / 1.39 GB, free: 2.375 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.381, allocations: 4.257 MB / 1.394 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006275/0.3873, allocations: 2.092 MB / 1.396 GB, free: 12.01 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006257/0.3935, allocations: 2.408 MB / 1.398 GB, free: 9.602 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01001/0.4035, allocations: 8.465 MB / 1.407 GB, free: 1.109 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009205/0.4127, allocations: 6.235 MB / 1.413 GB, free: 10.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.4181, allocations: 3.864 MB / 1.416 GB, free: 6.875 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006804/0.4249, allocations: 4.428 MB / 1.421 GB, free: 2.434 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.4272, allocations: 0.7773 MB / 1.421 GB, free: 1.656 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.4317, allocations: 1.911 MB / 1.423 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004147/0.4358, allocations: 3.133 MB / 1.426 GB, free: 12.6 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00598/0.4418, allocations: 2.751 MB / 1.429 GB, free: 9.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.4569, allocations: 12.07 MB / 1.441 GB, free: 13.73 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4569, allocations: 0 / 1.441 GB, free: 13.73 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.614e-06/0.4569, allocations: 0 / 1.441 GB, free: 13.73 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002659/0.4572, allocations: 0 / 1.441 GB, free: 13.73 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01087/0.4681, allocations: 5.859 MB / 1.447 GB, free: 7.809 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.4681, allocations: 12.03 kB / 1.447 GB, free: 7.797 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001437/0.4683, allocations: 147.3 kB / 1.447 GB, free: 7.652 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.4693, allocations: 0.8129 MB / 1.448 GB, free: 6.828 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/0.4746, allocations: 1.082 MB / 1.449 GB, free: 5.742 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005835/0.4805, allocations: 3.415 MB / 1.452 GB, free: 2.262 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.4808, allocations: 415.5 kB / 1.452 GB, free: 1.855 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008525/0.4816, allocations: 0.5354 MB / 1.453 GB, free: 1.32 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.4959, allocations: 9.388 MB / 1.462 GB, free: 7.539 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.4961, allocations: 27.83 kB / 1.462 GB, free: 7.512 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005306/0.4966, allocations: 236 kB / 1.462 GB, free: 7.281 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003746/0.497, allocations: 350.8 kB / 1.463 GB, free: 6.938 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01078/0.5077, allocations: 6.834 MB / 1.469 GB, free: 96 kB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0328/0.5405, allocations: 25.14 MB / 1.494 GB, free: 6.332 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.5439, allocations: 2.288 MB / 1.496 GB, free: 4.059 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.5463, allocations: 1.771 MB / 1.498 GB, free: 2.285 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.5464, allocations: 22 kB / 1.498 GB, free: 2.266 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.5464, allocations: 52.56 kB / 1.498 GB, free: 2.203 MB / 1.186 GB Notification: Performance of pre-optimization done (n=179): time 4.218e-06/0.5464, allocations: 0 / 1.498 GB, free: 2.203 MB / 1.186 GB Notification: Performance of matching and sorting (n=182): time 0.02332/0.5697, allocations: 9.69 MB / 1.507 GB, free: 8.496 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.5698, allocations: 73.41 kB / 1.507 GB, free: 8.414 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.5718, allocations: 1.523 MB / 1.509 GB, free: 6.848 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.5719, allocations: 53.7 kB / 1.509 GB, free: 6.789 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.5734, allocations: 2.324 MB / 1.511 GB, free: 4.441 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005778/0.574, allocations: 0.6622 MB / 1.512 GB, free: 3.773 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006108/0.5746, allocations: 416.1 kB / 1.512 GB, free: 3.359 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5747, allocations: 305.1 kB / 1.513 GB, free: 3.059 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.5764, allocations: 1.183 MB / 1.514 GB, free: 1.871 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.5785, allocations: 1.881 MB / 1.516 GB, free: 15.67 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/0.5825, allocations: 3.371 MB / 1.519 GB, free: 11.99 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.5826, allocations: 7.938 kB / 1.519 GB, free: 11.98 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007534/0.5901, allocations: 4.535 MB / 1.523 GB, free: 7.422 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.5901, allocations: 16 kB / 1.523 GB, free: 7.406 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-05/0.5901, allocations: 24 kB / 1.523 GB, free: 7.383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/0.594, allocations: 1.576 MB / 1.525 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.5951, allocations: 355.3 kB / 1.525 GB, free: 5.449 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02259/0.6177, allocations: 17.95 MB / 1.543 GB, free: 3.047 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.6192, allocations: 119.9 kB / 1.543 GB, free: 2.93 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.6194, allocations: 92 kB / 1.543 GB, free: 2.84 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002828/0.6222, allocations: 1.894 MB / 1.545 GB, free: 0.9336 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.6226, allocations: 242.5 kB / 1.545 GB, free: 0.6953 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006751/0.6294, allocations: 4.036 MB / 1.549 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.6294, allocations: 23.98 kB / 1.549 GB, free: 12.61 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.6294, allocations: 16 kB / 1.549 GB, free: 12.59 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/0.6295, allocations: 11.91 kB / 1.549 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.6439, allocations: 8.662 MB / 1.557 GB, free: 3.773 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.6439, allocations: 4 kB / 1.557 GB, free: 3.77 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007936/0.6447, allocations: 179.7 kB / 1.558 GB, free: 3.594 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003374/0.648, allocations: 1.35 MB / 1.559 GB, free: 2.234 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/0.6481, allocations: 35.98 kB / 1.559 GB, free: 2.199 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/0.6695, allocations: 16.74 MB / 1.575 GB, free: 1.004 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.6695, allocations: 7.938 kB / 1.575 GB, free: 0.9961 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006628/0.6761, allocations: 4.036 MB / 1.579 GB, free: 12.86 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.6772, allocations: 474.4 kB / 1.58 GB, free: 12.39 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.6775, allocations: 36 kB / 1.58 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.6783, allocations: 87.89 kB / 1.58 GB, free: 12.27 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/0.6787, allocations: 173.5 kB / 1.58 GB, free: 12.11 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.6788, allocations: 48 kB / 1.58 GB, free: 12.06 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001341/0.6802, allocations: 1.001 MB / 1.581 GB, free: 11.04 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.6802, allocations: 0 / 1.581 GB, free: 11.04 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002723/0.6829, allocations: 0.996 MB / 1.582 GB, free: 10.04 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006719/0.6896, allocations: 4.628 MB / 1.586 GB, free: 5.312 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006808/0.6964, allocations: 4.151 MB / 1.591 GB, free: 1.113 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.6964, allocations: 5 kB / 1.591 GB, free: 1.109 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004131/0.7005, allocations: 2.583 MB / 1.593 GB, free: 14.47 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/0.7036, allocations: 0.7885 MB / 1.594 GB, free: 13.71 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6262/1.33, allocations: 27.01 MB / 1.62 GB, free: 236 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/1.334, allocations: 3.037 MB / 1.623 GB, free: 235.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001344/1.336, allocations: 464.1 kB / 1.624 GB, free: 235.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.337, allocations: 1.788 MB / 1.625 GB, free: 233.6 MB / 1.295 GB Notification: Performance of SimCode: time 1.283e-06/1.337, allocations: 0.875 kB / 1.625 GB, free: 233.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.444, allocations: 79.04 MB / 1.703 GB, free: 178 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.17/16.62, allocations: 15.19 kB / 1.703 GB, free: 178 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.0674944849452]