Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00131/0.00131, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001503/0.001503, allocations: 210 kB / 22.25 MB, free: 5.137 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.075/3.075, allocations: 0.49 GB / 0.7951 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.002036/0.002036, allocations: 65.39 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04468/0.3777, allocations: 36.67 MB / 1.362 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.3982, allocations: 11.98 MB / 1.373 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003048/0.4013, allocations: 214.4 kB / 1.374 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.4122, allocations: 4.436 MB / 1.378 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005901/0.4181, allocations: 2.088 MB / 1.38 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006809/0.4249, allocations: 2.47 MB / 1.382 GB, free: 7.926 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.4372, allocations: 8.472 MB / 1.391 GB, free: 15.43 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.4504, allocations: 6.231 MB / 1.397 GB, free: 9.07 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007128/0.4575, allocations: 3.841 MB / 1.401 GB, free: 5.219 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007394/0.4649, allocations: 4.436 MB / 1.405 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002454/0.4674, allocations: 0.7813 MB / 1.406 GB, free: 15.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005225/0.4726, allocations: 2.059 MB / 1.408 GB, free: 13.92 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004981/0.4776, allocations: 3.141 MB / 1.411 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0071/0.4847, allocations: 3.396 MB / 1.414 GB, free: 7.363 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01662/0.5013, allocations: 12.01 MB / 1.426 GB, free: 11.32 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5013, allocations: 4 kB / 1.426 GB, free: 11.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5013, allocations: 11.88 kB / 1.426 GB, free: 11.3 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003688/0.5017, allocations: 0 / 1.426 GB, free: 11.3 MB / 1.123 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.01744/0.5191, allocations: 5.867 MB / 1.431 GB, free: 5.371 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.5192, allocations: 8.031 kB / 1.432 GB, free: 5.363 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002751/0.5219, allocations: 0.8012 MB / 1.432 GB, free: 4.551 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006808/0.5287, allocations: 1.09 MB / 1.433 GB, free: 3.457 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008709/0.5374, allocations: 3.411 MB / 1.437 GB, free: 15.97 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004384/0.5379, allocations: 419.5 kB / 1.437 GB, free: 15.56 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.5399, allocations: 0.5471 MB / 1.438 GB, free: 15.02 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.5621, allocations: 9.075 MB / 1.446 GB, free: 5.625 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003172/0.5624, allocations: 27.78 kB / 1.447 GB, free: 5.598 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001749/0.5641, allocations: 240 kB / 1.447 GB, free: 5.363 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005332/0.5647, allocations: 346.8 kB / 1.447 GB, free: 5.023 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.5796, allocations: 6.826 MB / 1.454 GB, free: 14.18 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05026/0.6299, allocations: 39.52 MB / 1.492 GB, free: 2.949 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/0.6337, allocations: 2.291 MB / 1.495 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.6365, allocations: 1.771 MB / 1.496 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.6366, allocations: 18 kB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.6367, allocations: 48.56 kB / 1.496 GB, free: 14.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 3.356e-06/0.6367, allocations: 4 kB / 1.496 GB, free: 14.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.02572/0.6624, allocations: 9.694 MB / 1.506 GB, free: 5.109 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.6625, allocations: 69.41 kB / 1.506 GB, free: 5.027 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.6649, allocations: 1.526 MB / 1.507 GB, free: 3.457 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.6652, allocations: 53.7 kB / 1.507 GB, free: 3.398 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/0.6668, allocations: 2.324 MB / 1.51 GB, free: 1.051 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007608/0.6675, allocations: 0.6661 MB / 1.51 GB, free: 388 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007678/0.6683, allocations: 420.2 kB / 1.511 GB, free: 15.96 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6684, allocations: 305.1 kB / 1.511 GB, free: 15.66 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.6702, allocations: 1.179 MB / 1.512 GB, free: 14.47 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.6725, allocations: 1.885 MB / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.6769, allocations: 3.367 MB / 1.517 GB, free: 8.59 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.6769, allocations: 11.94 kB / 1.517 GB, free: 8.578 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00806/0.685, allocations: 4.535 MB / 1.522 GB, free: 4.02 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.685, allocations: 17.88 kB / 1.522 GB, free: 4.004 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.319e-05/0.6851, allocations: 20 kB / 1.522 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/0.6889, allocations: 1.585 MB / 1.523 GB, free: 2.391 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.6901, allocations: 355.3 kB / 1.524 GB, free: 2.043 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0251/0.7152, allocations: 18.2 MB / 1.541 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.717, allocations: 115.9 kB / 1.542 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003673/0.7174, allocations: 95.98 kB / 1.542 GB, free: 15.18 MB / 1.248 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.003629/0.721, allocations: 1.891 MB / 1.544 GB, free: 13.27 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005978/0.7216, allocations: 234.6 kB / 1.544 GB, free: 13.04 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/0.7291, allocations: 4.043 MB / 1.548 GB, free: 8.973 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.7291, allocations: 20 kB / 1.548 GB, free: 8.953 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.38e-05/0.7292, allocations: 16 kB / 1.548 GB, free: 8.938 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.538e-05/0.7292, allocations: 15.89 kB / 1.548 GB, free: 8.922 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.747, allocations: 9.394 MB / 1.557 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.736e-05/0.747, allocations: 4 kB / 1.557 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.7479, allocations: 183.7 kB / 1.557 GB, free: 15.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003519/0.7514, allocations: 1.355 MB / 1.558 GB, free: 13.73 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/0.7516, allocations: 32 kB / 1.558 GB, free: 13.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02259/0.7742, allocations: 16.97 MB / 1.575 GB, free: 12.28 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.7742, allocations: 11.94 kB / 1.575 GB, free: 12.27 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007419/0.7816, allocations: 4.028 MB / 1.579 GB, free: 8.148 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.783, allocations: 474.3 kB / 1.579 GB, free: 7.684 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/0.7835, allocations: 36 kB / 1.579 GB, free: 7.648 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.7847, allocations: 91.88 kB / 1.58 GB, free: 7.559 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004931/0.7852, allocations: 173.5 kB / 1.58 GB, free: 7.387 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/0.7853, allocations: 48 kB / 1.58 GB, free: 7.34 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001741/0.7871, allocations: 1.001 MB / 1.581 GB, free: 6.316 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.7871, allocations: 0 / 1.581 GB, free: 6.316 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003666/0.7907, allocations: 0.9844 MB / 1.582 GB, free: 5.332 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.007512/0.7982, allocations: 4.645 MB / 1.586 GB, free: 0.582 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007242/0.8055, allocations: 4.163 MB / 1.59 GB, free: 12.37 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8055, allocations: 0 / 1.59 GB, free: 12.37 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004401/0.8099, allocations: 2.588 MB / 1.593 GB, free: 9.734 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.8136, allocations: 0.7842 MB / 1.594 GB, free: 8.977 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6521/1.466, allocations: 27 MB / 1.62 GB, free: 250 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006159/1.472, allocations: 3.572 MB / 1.623 GB, free: 248.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001733/1.474, allocations: 464.4 kB / 1.624 GB, free: 248.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002197/1.476, allocations: 1.789 MB / 1.626 GB, free: 247.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.363e-06/1.476, allocations: 0 / 1.626 GB, free: 247.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/1.597, allocations: 76.51 MB / 1.7 GB, free: 190.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.26/16.86, allocations: 9.922 kB / 1.7 GB, free: 190.8 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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: 24.0325932870619]