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.001602/0.001602, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.001669/0.001669, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.169/3.169, allocations: 0.49 GB / 0.7916 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.002044/0.002044, allocations: 69.95 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04673/0.3972, allocations: 35.47 MB / 1.355 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02158/0.4187, allocations: 11.66 MB / 1.367 GB, free: 4.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003868/0.4226, allocations: 210.4 kB / 1.367 GB, free: 3.863 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01172/0.4343, allocations: 4.327 MB / 1.371 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.4409, allocations: 2.092 MB / 1.373 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00766/0.4486, allocations: 2.404 MB / 1.376 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01364/0.4622, allocations: 8.464 MB / 1.384 GB, free: 2.535 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01738/0.4796, allocations: 8.416 MB / 1.392 GB, free: 10 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00781/0.4874, allocations: 3.845 MB / 1.396 GB, free: 6.145 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00779/0.4952, allocations: 4.424 MB / 1.4 GB, free: 1.707 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.4978, allocations: 0.7812 MB / 1.401 GB, free: 0.9258 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005541/0.5033, allocations: 2.067 MB / 1.403 GB, free: 14.86 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.005036/0.5084, allocations: 3.137 MB / 1.406 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007313/0.5157, allocations: 3.396 MB / 1.409 GB, free: 8.301 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.5336, allocations: 12.02 MB / 1.421 GB, free: 12.24 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.5336, allocations: 0 / 1.421 GB, free: 12.24 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5336, allocations: 0 / 1.421 GB, free: 12.24 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0004462/0.5341, allocations: 0 / 1.421 GB, free: 12.24 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.01782/0.5519, allocations: 5.946 MB / 1.427 GB, free: 6.215 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.5519, allocations: 15.98 kB / 1.427 GB, free: 6.199 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002689/0.5546, allocations: 0.809 MB / 1.428 GB, free: 5.379 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/0.562, allocations: 1.082 MB / 1.429 GB, free: 4.293 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007896/0.5699, allocations: 3.471 MB / 1.432 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/0.5703, allocations: 411.5 kB / 1.433 GB, free: 372 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.5723, allocations: 0.5393 MB / 1.433 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.5938, allocations: 9.087 MB / 1.442 GB, free: 6.418 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/0.5941, allocations: 23.78 kB / 1.442 GB, free: 6.395 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/0.5957, allocations: 240 kB / 1.442 GB, free: 6.16 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000456/0.5961, allocations: 350.8 kB / 1.443 GB, free: 5.816 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01509/0.6112, allocations: 6.83 MB / 1.449 GB, free: 14.98 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05367/0.6649, allocations: 39.86 MB / 1.488 GB, free: 3.41 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/0.6693, allocations: 2.905 MB / 1.491 GB, free: 368 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003002/0.6723, allocations: 1.786 MB / 1.493 GB, free: 14.57 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.6725, allocations: 22 kB / 1.493 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/0.6725, allocations: 48.56 kB / 1.493 GB, free: 14.5 MB / 1.201 GB Notification: Performance of pre-optimization done (n=179): time 4.359e-06/0.6725, allocations: 0 / 1.493 GB, free: 14.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=182): time 0.02712/0.6996, allocations: 10 MB / 1.503 GB, free: 4.406 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.6997, allocations: 69.41 kB / 1.503 GB, free: 4.324 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.7021, allocations: 1.53 MB / 1.504 GB, free: 2.75 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.7023, allocations: 49.7 kB / 1.504 GB, free: 2.695 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/0.704, allocations: 2.331 MB / 1.506 GB, free: 348 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007157/0.7047, allocations: 0.6586 MB / 1.507 GB, free: 15.67 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/0.7055, allocations: 412.1 kB / 1.507 GB, free: 15.26 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7056, allocations: 312.8 kB / 1.508 GB, free: 14.96 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.7075, allocations: 1.179 MB / 1.509 GB, free: 13.77 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00256/0.7101, allocations: 1.881 MB / 1.511 GB, free: 11.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004763/0.7148, allocations: 3.367 MB / 1.514 GB, free: 7.895 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/0.7149, allocations: 4 kB / 1.514 GB, free: 7.891 MB / 1.217 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008513/0.7234, allocations: 4.543 MB / 1.519 GB, free: 3.324 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.7234, allocations: 16 kB / 1.519 GB, free: 3.309 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.7235, allocations: 24.09 kB / 1.519 GB, free: 3.285 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004138/0.7276, allocations: 1.578 MB / 1.52 GB, free: 1.699 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7289, allocations: 355.3 kB / 1.52 GB, free: 1.352 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02638/0.7553, allocations: 18.6 MB / 1.539 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.7574, allocations: 119.9 kB / 1.539 GB, free: 14.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003898/0.7578, allocations: 96 kB / 1.539 GB, free: 13.98 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.003799/0.7616, allocations: 1.894 MB / 1.541 GB, free: 12.07 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007077/0.7623, allocations: 234.5 kB / 1.541 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008107/0.7704, allocations: 4.047 MB / 1.545 GB, free: 7.77 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.7705, allocations: 20 kB / 1.545 GB, free: 7.75 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.164e-05/0.7705, allocations: 16 kB / 1.545 GB, free: 7.734 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/0.7705, allocations: 12.02 kB / 1.545 GB, free: 7.723 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01834/0.7889, allocations: 9.411 MB / 1.554 GB, free: 14.06 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.7889, allocations: 4 kB / 1.554 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008668/0.7897, allocations: 183.7 kB / 1.554 GB, free: 13.88 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/0.7935, allocations: 1.355 MB / 1.556 GB, free: 12.51 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/0.7936, allocations: 36 kB / 1.556 GB, free: 12.48 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02371/0.8173, allocations: 17.37 MB / 1.573 GB, free: 10.55 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.8174, allocations: 11.92 kB / 1.573 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007526/0.8249, allocations: 4.028 MB / 1.576 GB, free: 6.418 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.8261, allocations: 0.5346 MB / 1.577 GB, free: 5.863 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004084/0.8265, allocations: 40.48 kB / 1.577 GB, free: 5.824 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.8276, allocations: 83.91 kB / 1.577 GB, free: 5.742 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004917/0.8281, allocations: 161.7 kB / 1.577 GB, free: 5.582 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.8282, allocations: 55.94 kB / 1.577 GB, free: 5.527 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001458/0.8296, allocations: 1.005 MB / 1.578 GB, free: 4.5 MB / 1.279 GB Notification: Performance of sort global known variables: time 4.61e-07/0.8296, allocations: 0 / 1.578 GB, free: 4.5 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003172/0.8328, allocations: 0.9882 MB / 1.579 GB, free: 3.512 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.007341/0.8401, allocations: 4.634 MB / 1.584 GB, free: 14.77 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007333/0.8475, allocations: 4.167 MB / 1.588 GB, free: 10.55 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.8475, allocations: 0 / 1.588 GB, free: 10.55 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004646/0.8521, allocations: 2.576 MB / 1.59 GB, free: 7.93 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.8557, allocations: 0.7873 MB / 1.591 GB, free: 7.172 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6364/1.492, allocations: 26.87 MB / 1.617 GB, free: 269 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/1.497, allocations: 3.573 MB / 1.621 GB, free: 268.2 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001402/1.499, allocations: 461.5 kB / 1.621 GB, free: 268.2 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.5, allocations: 1.79 MB / 1.623 GB, free: 268.2 MB / 1.311 GB Notification: Performance of SimCode: time 1.032e-06/1.5, allocations: 1.781 kB / 1.623 GB, free: 268.2 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/1.644, allocations: 74.45 MB / 1.696 GB, free: 222 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/15.37, allocations: 11.94 kB / 1.696 GB, free: 222 MB / 1.311 GB " [Timeout remaining time 285] (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: 22.633931630989537]